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 GitHub
parent fcec04bf42
commit e378e33421

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"
}
},
{