Skip to content

Commit e0ec2fb

Browse files
committed
Fix release build
1 parent 6412e2c commit e0ec2fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
149149
target_link_libraries("ArmaScriptCompiler" "libstdc++.a")
150150

151151
else()
152+
target_compile_options(lua_static PRIVATE "$<$<CONFIG:Release>:/MT>")
152153
target_compile_options(
153154
"ArmaScriptCompiler" PRIVATE
154155
"/MP" "/Zi"

0 commit comments

Comments
 (0)