diff --git a/ports/cpp-httplib/portfile.cmake b/ports/cpp-httplib/portfile.cmake index ab8831dbdc6d8d..09211adffffe48 100644 --- a/ports/cpp-httplib/portfile.cmake +++ b/ports/cpp-httplib/portfile.cmake @@ -13,6 +13,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS brotli HTTPLIB_REQUIRE_BROTLI openssl HTTPLIB_REQUIRE_OPENSSL zlib HTTPLIB_REQUIRE_ZLIB + zstd HTTPLIB_REQUIRE_ZSTD ) set(VCPKG_BUILD_TYPE release) # header-only port @@ -24,6 +25,7 @@ vcpkg_cmake_configure( -DHTTPLIB_USE_OPENSSL_IF_AVAILABLE=OFF -DHTTPLIB_USE_ZLIB_IF_AVAILABLE=OFF -DHTTPLIB_USE_BROTLI_IF_AVAILABLE=OFF + -DHTTPLIB_USE_ZSTD_IF_AVAILABLE=OFF ) vcpkg_cmake_install() diff --git a/ports/cpp-httplib/vcpkg.json b/ports/cpp-httplib/vcpkg.json index 9569280e2db713..ee63b9b3b4017f 100644 --- a/ports/cpp-httplib/vcpkg.json +++ b/ports/cpp-httplib/vcpkg.json @@ -1,6 +1,7 @@ { "name": "cpp-httplib", "version": "0.20.0", + "port-version": 1, "description": "A single file C++11 header-only HTTP/HTTPS server and client library", "homepage": "https://github.com/yhirose/cpp-httplib", "license": "MIT", @@ -35,6 +36,12 @@ "dependencies": [ "zlib" ] + }, + "zstd": { + "description": "Enables zstd support", + "dependencies": [ + "zstd" + ] } } } diff --git a/versions/baseline.json b/versions/baseline.json index 4f9bf47c46fe2d..ba0c1d78d05d21 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1906,7 +1906,7 @@ }, "cpp-httplib": { "baseline": "0.20.0", - "port-version": 0 + "port-version": 1 }, "cpp-ipc": { "baseline": "1.3.0", diff --git a/versions/c-/cpp-httplib.json b/versions/c-/cpp-httplib.json index b56714d555499f..578e2bfc95e0e1 100644 --- a/versions/c-/cpp-httplib.json +++ b/versions/c-/cpp-httplib.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "504cadb74ace89d1afed1c10afceebf046baae28", + "version": "0.20.0", + "port-version": 1 + }, { "git-tree": "2cb1201ff0d73510fdaf89d9102f7f818fc74f78", "version": "0.20.0",