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