Adding MSVC_RUNTIME_LIBRARY to global property.
This commit is contained in:
parent
e07616ea52
commit
7fbe29740c
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
#compile with warnings
|
||||
if(WIN32)
|
||||
add_compile_options(/W4 /WX "$<$<CONFIG:DEBUG>:/MTd>")
|
||||
add_compile_options(/W4 /WX)
|
||||
set_property(PROPERTY
|
||||
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
else()
|
||||
add_compile_options(-Wall -Wextra -pedantic -Werror)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue