summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/msvc.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake
index 578d7721..e54431bc 100644
--- a/cmake/msvc.cmake
+++ b/cmake/msvc.cmake
@@ -78,7 +78,7 @@ if(DEFINED floormat-64bit)
endif()
endif()
-set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:DEBUG>:Debug>")
+set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:DEBUG,Debug>:Debug>")
add_link_options(-cgthreads:$ENV{NUMBER_OF_PROCESSORS})