Skip to content

Commit

Permalink
[civetweb] add option support USE_ZLIB (microsoft#36083)
Browse files Browse the repository at this point in the history
* [civetweb] add option support USE_ZLIB

* update version

---------

Co-authored-by: vzhli17 <[email protected]>
  • Loading branch information
JonLiu1993 and vzhli17 authored Jan 11, 2024
1 parent 6901e71 commit dba5cc8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions ports/civetweb/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ vcpkg_cmake_configure(
-DCIVETWEB_ENABLE_SSL_DYNAMIC_LOADING=OFF
-DCIVETWEB_ENABLE_WEBSOCKETS=ON
-DCIVETWEB_ALLOW_WARNINGS=ON
-DCIVETWEB_ENABLE_ZLIB=ON
"-DVERSION=${VERSION}"
${FEATURE_OPTIONS}
)
Expand Down
5 changes: 3 additions & 2 deletions ports/civetweb/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "civetweb",
"version": "1.16",
"port-version": 1,
"port-version": 2,
"description": "Easy to use, powerful, C/C++ embeddable web server.",
"homepage": "https://github.com/civetweb/civetweb",
"supports": "!uwp",
Expand All @@ -13,7 +13,8 @@
{
"name": "vcpkg-cmake-config",
"host": true
}
},
"zlib"
],
"features": {
"ssl": {
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1586,7 +1586,7 @@
},
"civetweb": {
"baseline": "1.16",
"port-version": 1
"port-version": 2
},
"cjson": {
"baseline": "1.7.16",
Expand Down
5 changes: 5 additions & 0 deletions versions/c-/civetweb.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "e4dd629e48dc2fc142165bf825c99512544b568c",
"version": "1.16",
"port-version": 2
},
{
"git-tree": "23fa18e460290d6b0629ca6487f69b56845cfbda",
"version": "1.16",
Expand Down

0 comments on commit dba5cc8

Please sign in to comment.