Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ports/cpp-httplib/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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()
Expand Down
7 changes: 7 additions & 0 deletions ports/cpp-httplib/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -35,6 +36,12 @@
"dependencies": [
"zlib"
]
},
"zstd": {
"description": "Enables zstd support",
"dependencies": [
"zstd"
]
}
}
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1906,7 +1906,7 @@
},
"cpp-httplib": {
"baseline": "0.20.0",
"port-version": 0
"port-version": 1
},
"cpp-ipc": {
"baseline": "1.3.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/c-/cpp-httplib.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "504cadb74ace89d1afed1c10afceebf046baae28",
"version": "0.20.0",
"port-version": 1
},
{
"git-tree": "2cb1201ff0d73510fdaf89d9102f7f818fc74f78",
"version": "0.20.0",
Expand Down