[client] windows: use vcpkg OpenSSL for MsQuic

This commit is contained in:
Geoffrey McRae
2026-10-02 19:50:09 +10:00
parent 1995edc1e6
commit ad0207afc5
5 changed files with 54 additions and 20 deletions

View File

@@ -28,7 +28,8 @@
"ENABLE_NETWORK": true,
"ENABLE_WASAPI": true,
"OPTIMIZE_FOR_NATIVE": "OFF",
"VCPKG_TARGET_TRIPLET": "x64-windows"
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/cmake/vcpkg-triplets",
"VCPKG_TARGET_TRIPLET": "x64-windows-lg"
}
}
],

View File

@@ -0,0 +1,9 @@
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_PROVIDED_FORTRAN ON)
if(PORT STREQUAL "openssl")
set(VCPKG_LIBRARY_LINKAGE static)
else()
set(VCPKG_LIBRARY_LINKAGE dynamic)
endif()

View File

@@ -11,6 +11,11 @@
{
"name": "libsamplerate",
"platform": "windows"
},
{
"name": "openssl",
"default-features": false,
"platform": "windows"
}
]
}