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