diff --git a/cmake/toolchain.cmake b/cmake/toolchain.cmake index d5bed4f..c16fcee 100644 --- a/cmake/toolchain.cmake +++ b/cmake/toolchain.cmake @@ -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$<$:Debug>") else() add_compile_options(-Wall -Wextra -pedantic -Werror)