From 25a6c5ca64b38a5414448150ba9dfdf21471f621 Mon Sep 17 00:00:00 2001 From: Retro <44505837+dankmolot@users.noreply.github.com> Date: Thu, 21 Nov 2024 11:16:06 +0200 Subject: [PATCH] Force static linking for windows builds --- CMakePresets.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/CMakePresets.json b/CMakePresets.json index c00f70e..e9b1187 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -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",