diff --git a/ports/configcat/portfile.cmake b/ports/configcat/portfile.cmake index 9714cb3a171dd4..f0390f220c7047 100644 --- a/ports/configcat/portfile.cmake +++ b/ports/configcat/portfile.cmake @@ -6,14 +6,20 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO configcat/cpp-sdk REF "v${VERSION}" - SHA512 2d2c456c978babc3223783ec0e08ac7e73294703db4f932da12ce7e4b5163510689c4b996311543fd68acffc613a15a776767b144a4089eb12566a52af8017b7 + SHA512 a71706978b0a4e7b4bce7f194910b75221bc6483d38f7cda9d004abdf41dcdd97aa2754977e641c888065f3aeacd6e7e0893e5de1c9417a3d466a977a1dbb287 HEAD_REF master ) +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS + INVERTED_FEATURES + network CONFIGCAT_USE_EXTERNAL_NETWORK_ADAPTER +) + vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" OPTIONS -DCONFIGCAT_BUILD_TESTS=OFF + ${FEATURE_OPTIONS} ) vcpkg_cmake_install() diff --git a/ports/configcat/vcpkg.json b/ports/configcat/vcpkg.json index 90fa97b2f31189..da1ccd6119749e 100644 --- a/ports/configcat/vcpkg.json +++ b/ports/configcat/vcpkg.json @@ -1,23 +1,12 @@ { "name": "configcat", - "version": "3.1.1", + "version": "3.2.0", "description": "ConfigCat SDK for C++ provides easy integration for your application to ConfigCat. ConfigCat is a feature flag and configuration management service that lets you separate feature releases from deployments. Alternative to LaunchDarkly.", "homepage": "https://configcat.com/", "license": "MIT", "dependencies": [ - { - "name": "curl", - "default-features": false, - "features": [ - "ssl" - ] - }, "hash-library", "nlohmann-json", - { - "name": "openssl", - "platform": "linux" - }, { "name": "vcpkg-cmake", "host": true @@ -27,5 +16,26 @@ "host": true }, "z4kn4fein-semver" - ] + ], + "default-features": [ + "network" + ], + "features": { + "network": { + "description": "Use built-in curl network adapter", + "dependencies": [ + { + "name": "curl", + "default-features": false, + "features": [ + "ssl" + ] + }, + { + "name": "openssl", + "platform": "linux" + } + ] + } + } } diff --git a/versions/baseline.json b/versions/baseline.json index 7ceb21b822fdc7..f87cdb6144416c 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1761,7 +1761,7 @@ "port-version": 0 }, "configcat": { - "baseline": "3.1.1", + "baseline": "3.2.0", "port-version": 0 }, "console-bridge": { diff --git a/versions/c-/configcat.json b/versions/c-/configcat.json index b78bee82ea433c..09f3e0386d5e94 100644 --- a/versions/c-/configcat.json +++ b/versions/c-/configcat.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "4f1f87e186100760a5a093476a921eb6396b46c7", + "version": "3.2.0", + "port-version": 0 + }, { "git-tree": "278ce6bc975733e7807d36490f0e6d5c5c786ebb", "version": "3.1.1",