make set_property global

This commit is contained in:
Patricia Aas 2021-09-10 12:19:31 +02:00
parent 9f64660938
commit 43f3514b04

View file

@ -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)