Only using the static non debug runtime library
This commit is contained in:
parent
8dde5b1c23
commit
2aba908be6
@ -89,7 +89,7 @@ if (MSVC)
|
||||
CMAKE_C_FLAGS_RELEASE
|
||||
)
|
||||
foreach(CompilerFlag ${CompilerFlags})
|
||||
string(REPLACE "/MD" "/MT" ${CompilerFlag} "${${CompilerFlag}}")
|
||||
string(REGEX REPLACE "/M[DT]d?" "/MT" ${CompilerFlag} "${${CompilerFlag}}")
|
||||
endforeach()
|
||||
add_compile_options("/EHsc") #We require exception handling
|
||||
else()
|
||||
|
Loading…
Reference in New Issue
Block a user