diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-31 15:56:09 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-31 15:59:45 +0200 |
commit | 6a30ba5bbb7052e738f1add764d790e6d953b3b6 (patch) | |
tree | 13eda8efd989703bfc16226cbf6f61837fa8b3ea /cmake | |
parent | 1616d0d8e21450e20390bb1aa93c547079b1e5aa (diff) |
cmake: drop "Debug", leave only "DEBUG"
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/msvc.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index 933247b2..578d7721 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -78,12 +78,13 @@ if(DEFINED floormat-64bit) endif() endif() -set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:DEBUG,Debug>:Debug>") +set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:DEBUG>:Debug>") add_link_options(-cgthreads:$ENV{NUMBER_OF_PROCESSORS}) set(_CFLAGS "-diagnostics:caret -Zc:inline -Zc:preprocessor -wd4117 -Zi -Zf -Zo -bigobj -cgthreads1 -vd0 -permissive-") string(TOUPPER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE) +set(CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING "" FORCE) if(CMAKE_BUILD_TYPE STREQUAL "DEBUG") set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreadedDebugDLL" CACHE INTERNAL "" FORCE) elseif(NOT floormat-no-static-crt) |