From 43f3514b044b0eb3efa1011f8ad444f083b5d483 Mon Sep 17 00:00:00 2001 From: Patricia Aas Date: Fri, 10 Sep 2021 12:19:31 +0200 Subject: [PATCH] make set_property global --- cmake/toolchain.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)