win: static link msvc libs (#11612)

This should help reduce the runtime dependencies on windows.
This commit is contained in:
Daniel Hiltgen 2025-08-05 16:10:42 -07:00 committed by Ryan Schumacher
parent b643362f9f
commit e5b777a8d9
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@
"binaryDir": "${sourceDir}/build",
"installDir": "${sourceDir}/dist",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded"
}
},
{