summaryrefslogtreecommitdiffstats
path: root/External/lua-5.2.3
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2017-12-06 05:12:45 +0000
committerEgor Yusov <egor.yusov@gmail.com>2017-12-06 05:12:45 +0000
commit624b8be46f38a695f6f9e4c7ea07cd8f370c04b4 (patch)
tree24e9e62b8e0c2c2cae1c0026ef36010fd09214a1 /External/lua-5.2.3
parentCMake: Added grouping of projects in VS solution (diff)
downloadDiligentTools-624b8be46f38a695f6f9e4c7ea07cd8f370c04b4.tar.gz
DiligentTools-624b8be46f38a695f6f9e4c7ea07cd8f370c04b4.zip
Updated cmake files; fixed build warnings
Diffstat (limited to 'External/lua-5.2.3')
-rw-r--r--External/lua-5.2.3/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/External/lua-5.2.3/CMakeLists.txt b/External/lua-5.2.3/CMakeLists.txt
index c126b50..204f1ba 100644
--- a/External/lua-5.2.3/CMakeLists.txt
+++ b/External/lua-5.2.3/CMakeLists.txt
@@ -82,8 +82,10 @@ target_include_directories(Lua PUBLIC
target_link_libraries(Lua PRIVATE BuildSettings)
if(MSVC)
- target_compile_definitions(Lua PRIVATE -D_CRT_SECURE_NO_WARNINGS)
-endif()
+ # Disable MSVC-specific warnings
+ target_compile_definitions(Lua PRIVATE -D_CRT_SECURE_NO_WARNINGS)
+ target_compile_options(Lua PRIVATE /W3 /wd4244 /wd4334 /wd4702)
+endif(MSVC)
source_group("source" FILES ${SOURCE})
source_group("include" FILES ${INCLUDE})