From 9e139f5076fa4bc7d78819fb9d45a5416f167e04 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 20 Dec 2021 04:59:04 +0100 Subject: cmake/msvc: add MSVC_RUNTIME_LIBRARY --- cmake/msvc.cmake | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3