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 | |
| 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>
| -rw-r--r-- | ports/restc-cpp/portfile.cmake | 8 | ||||
| -rw-r--r-- | ports/restc-cpp/vcpkg.json | 9 | ||||
| -rw-r--r-- | versions/baseline.json | 2 | ||||
| -rw-r--r-- | versions/r-/restc-cpp.json | 5 |
4 files changed, 19 insertions, 5 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": [ diff --git a/versions/baseline.json b/versions/baseline.json index 4268212cb..67f1ae99e 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5554,7 +5554,7 @@ }, "restc-cpp": { "baseline": "0.10.0", - "port-version": 0 + "port-version": 1 }, "restclient-cpp": { "baseline": "0.5.2", diff --git a/versions/r-/restc-cpp.json b/versions/r-/restc-cpp.json index 5cd8c3ee7..bf4a8ac5a 100644 --- a/versions/r-/restc-cpp.json +++ b/versions/r-/restc-cpp.json @@ -1,6 +1,11 @@ { "versions": [ { + "git-tree": "98f2e4aed1e4c9a84df72116c4036a59a3d59436", + "version-semver": "0.10.0", + "port-version": 1 + }, + { "git-tree": "5b6f1ef4d2f26a9053f956fe044300e3d0bed2cd", "version-semver": "0.10.0", "port-version": 0 |
