Adding global to cmake property.

This commit is contained in:
Ólafur Waage 2021-09-10 12:21:05 +02:00
parent b30d71ac96
commit b7c312ebd7
1 changed files with 1 additions and 1 deletions

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)