Skip to content

Commit

Permalink
Force static linking for windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dankmolot committed Nov 21, 2024
1 parent 5f80b93 commit 25a6c5c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,19 @@
"name": "x64-windows",
"inherits": "vcpkg",
"generator": "Visual Studio 17 2022",
"architecture": "x64"
"architecture": "x64",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows-static"
}
},
{
"name": "x86-windows",
"inherits": "vcpkg",
"generator": "Visual Studio 17 2022",
"architecture": "Win32"
"architecture": "Win32",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x86-windows-static"
}
},
{
"name": "unix",
Expand Down

0 comments on commit 25a6c5c

Please sign in to comment.