diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-12-20 04:59:04 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-12-20 04:59:04 +0100 |
commit | 9e139f5076fa4bc7d78819fb9d45a5416f167e04 (patch) | |
tree | 6d2fe0c59a7542b5f78c1a821a583030d7ea74c8 /cmake | |
parent | 6e74fd2fca860371289a549422b608ff48fd2f30 (diff) |
cmake/msvc: add MSVC_RUNTIME_LIBRARY
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/msvc.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index 9a331cb3..eaeea4f6 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -23,6 +23,7 @@ set(CMAKE_GENERATOR "Ninja") #add_compile_options(-d2cgsummary) add_definitions(-D_HAS_EXCEPTIONS=0) add_definitions(-D_CRT_USE_BUILTIN_OFFSETOF) +set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded" CACHE INTERNAL "" FORCE) if(CMAKE_PROJECT_NAME STREQUAL "opentrack") #include("${CMAKE_CURRENT_LIST_DIR}/opentrack-policy.cmake" NO_POLICY_SCOPE) |