[curl] Enable USE_APPLE_SECTRUST on Apple platforms (#52158)

This commit is contained in:
Adrian Freund 2026-06-04 02:13:15 +02:00 committed by GitHub
parent b44e8b17b3
commit 81de677151
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 2 deletions

View File

@ -76,6 +76,11 @@ if(VCPKG_TARGET_IS_WINDOWS)
list(APPEND OPTIONS -DENABLE_UNICODE=ON)
endif()
if(VCPKG_TARGET_IS_APPLE AND
("openssl" IN_LIST FEATURES OR "gnutls" IN_LIST FEATURES))
list(APPEND OPTIONS -DUSE_APPLE_SECTRUST=ON)
endif()
vcpkg_find_acquire_program(PKGCONFIG)
set(ENV{PKG_CONFIG} "${PKGCONFIG}")

View File

@ -1,7 +1,7 @@
{
"name": "curl",
"version": "8.20.0",
"port-version": 1,
"port-version": 2,
"description": "A library for transferring data with URLs",
"homepage": "https://curl.se/",
"license": "curl AND ISC AND BSD-3-Clause",

View File

@ -2278,7 +2278,7 @@
},
"curl": {
"baseline": "8.20.0",
"port-version": 1
"port-version": 2
},
"curlcpp": {
"baseline": "3.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7c6e682ec4c0c5f5e8359caeb08cd26830fbf276",
"version": "8.20.0",
"port-version": 2
},
{
"git-tree": "94fb76b63c2f0251b57301ba9842ebe9ff2b6164",
"version": "8.20.0",