From e378e334215015ce135ebf6c4147b689fe67eef8 Mon Sep 17 00:00:00 2001 From: Daniel Hiltgen Date: Tue, 5 Aug 2025 16:10:42 -0700 Subject: [PATCH] win: static link msvc libs (#11612) This should help reduce the runtime dependencies on windows. --- CMakePresets.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakePresets.json b/CMakePresets.json index 9a4dcc06b2..ab2cfe9d6d 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -6,7 +6,8 @@ "binaryDir": "${sourceDir}/build", "installDir": "${sourceDir}/dist", "cacheVariables": { - "CMAKE_BUILD_TYPE": "Release" + "CMAKE_BUILD_TYPE": "Release", + "CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded" } }, {