Fix link error on MSVC with lua (#2055)
Lua wasn't actually being built as C++, but SM was being built as if it was, which caused symbol mismatches.
This commit is contained in:
Vendored
+1
-1
@@ -64,7 +64,7 @@ set_property(TARGET "lua-5.1" PROPERTY FOLDER "External Libraries")
|
||||
|
||||
if(MSVC)
|
||||
sm_add_compile_definition("lua-5.1" _CRT_SECURE_NO_WARNINGS)
|
||||
sm_add_compile_flag("lua-5.1" /TP)
|
||||
set_source_files_properties(${LUA_SRC} PROPERTIES LANGUAGE CXX)
|
||||
endif(MSVC)
|
||||
|
||||
disable_project_warnings("lua-5.1")
|
||||
|
||||
Reference in New Issue
Block a user