diff --git a/cmake/toolchain.cmake b/cmake/toolchain.cmake index 574b60a..4a72668 100644 --- a/cmake/toolchain.cmake +++ b/cmake/toolchain.cmake @@ -1,6 +1,6 @@ #compile with warnings if(WIN32) - add_compile_options(/W4 /WX) + add_compile_options(/W4 /WX "$<$:/MTd>") else() add_compile_options(-Wall -Wextra -pedantic -Werror) endif()