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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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"
}
},
{