diff options
| author | sandro97git <30286744+sandro97git@users.noreply.github.com> | 2021-07-26 02:27:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-25 17:27:31 -0700 |
| commit | d781bd9ca77ac3dc2f13d88169021d48459c665f (patch) | |
| tree | 39e6cca78db0e12c2fc3f7b1f0ee26673372c8ff /ports | |
| parent | ce91faf83e55a386ce6d767fc7d39a4574add9af (diff) | |
| download | vcpkg-d781bd9ca77ac3dc2f13d88169021d48459c665f.tar.gz vcpkg-d781bd9ca77ac3dc2f13d88169021d48459c665f.zip | |
[restc-cpp] make using boost-log an optional feature (#18683)
* [restc-cpp] make using boost-log an optional feature
* Update versions/r-/restc-cpp.json
* Remove boost-log from dependencies
* Update versions/r-/restc-cpp.json
* [restc-cpp] Add boost-asio dependency
* update version SHA
Co-authored-by: Sandro Scherer <sandro.scherer@siemens.com>
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/restc-cpp/portfile.cmake | 8 | ||||
| -rw-r--r-- | ports/restc-cpp/vcpkg.json | 9 |
2 files changed, 13 insertions, 4 deletions
diff --git a/ports/restc-cpp/portfile.cmake b/ports/restc-cpp/portfile.cmake index 764f39cfa..c7eacd2b3 100644 --- a/ports/restc-cpp/portfile.cmake +++ b/ports/restc-cpp/portfile.cmake @@ -11,9 +11,11 @@ vcpkg_from_github( )
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
- openssl RESTC_CPP_WITH_TLS
- zlib RESTC_CPP_WITH_ZLIB
- threaded-ctx RESTC_CPP_THREADED_CTX
+ FEATURES
+ openssl RESTC_CPP_WITH_TLS
+ zlib RESTC_CPP_WITH_ZLIB
+ threaded-ctx RESTC_CPP_THREADED_CTX
+ boost-log RESTC_CPP_LOG_WITH_BOOST_LOG
)
vcpkg_configure_cmake(
diff --git a/ports/restc-cpp/vcpkg.json b/ports/restc-cpp/vcpkg.json index c50d95e0f..b06c5faa8 100644 --- a/ports/restc-cpp/vcpkg.json +++ b/ports/restc-cpp/vcpkg.json @@ -1,16 +1,17 @@ { "name": "restc-cpp", "version-semver": "0.10.0", + "port-version": 1, "description": "Modern C++ REST Client library", "homepage": "https://github.com/jgaa/restc-cpp", "license": "MIT", "dependencies": [ + "boost-asio", "boost-chrono", "boost-context", "boost-coroutine", "boost-date-time", "boost-filesystem", - "boost-log", "boost-program-options", "boost-system", "boost-uuid", @@ -21,6 +22,12 @@ "zlib" ], "features": { + "boost-log": { + "description": "Use boost-log for logging.", + "dependencies": [ + "boost-log" + ] + }, "openssl": { "description": "OpenSSL support.", "dependencies": [ |
