Skip to content

Commit

Permalink
On '1.7.x-vcpkg' branch: Cleanup vcpkg features.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.7.x-vcpkg@1917334 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Ivan Zhakov committed Apr 25, 2024
1 parent 84d6eb1 commit ae8a787
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 34 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/windows-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
port:
- apr
- apr[core]
- apr[crypto,dbd-sqlite3,dbd-odbc,private-headers,xlate]
- apr[private-headers]
fail-fast: false

name: "${{ matrix.port }}:${{ matrix.triplet }} on ${{ matrix.os }}"
Expand Down
8 changes: 0 additions & 8 deletions build/vcpkg/apr/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ if (VCPKG_TARGET_IS_WINDOWS)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
private-headers INSTALL_PRIVATE_H
crypto FEATURE_CRYPTO
xlate FEATURE_XLATE
dbd-sqlite3 FEATURE_DBD_SQLITE3
)

string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" APR_BUILD_STATIC)
Expand All @@ -34,13 +31,8 @@ if (VCPKG_TARGET_IS_WINDOWS)
OPTIONS
-DAPR_BUILD_STATIC=${APR_BUILD_STATIC}
-DAPR_BUILD_SHARED=${APR_BUILD_SHARED}
-DAPR_MODULAR_DSO=${APR_BUILD_SHARED}
-DAPR_BUILD_TESTAPR=OFF
-DINSTALL_PDB=OFF
-DAPU_HAVE_CRYPTO=${FEATURE_CRYPTO}
-DAPU_HAVE_ICONV=${FEATURE_XLATE}
-DAPU_HAVE_SQLITE3=${FEATURE_DBD_SQLITE3}
-DAPU_USE_EXPAT=${APU_USE_EXPAT}
-DAPR_INSTALL_PRIVATE_H=${INSTALL_PRIVATE_H}
)

Expand Down
25 changes: 0 additions & 25 deletions build/vcpkg/apr/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,33 +18,8 @@
}
],
"features": {
"crypto": {
"description": "Crypto support",
"dependencies": [
{
"name": "openssl",
"default-features": false,
"features": []
}
]
},
"dbd-sqlite3": {
"description": "Build SQLite3 DBD driver",
"dependencies": [
"sqlite3"
]
},
"dbd-odbc": {
"description": "Build ODBC DBD driver"
},
"private-headers": {
"description": "Install non-standard files required for building Apache httpd"
},
"xlate": {
"description": "Xlate support",
"dependencies": [
"libiconv"
]
}
},
"default-features": []
Expand Down

0 comments on commit ae8a787

Please sign in to comment.