aboutsummaryrefslogtreecommitdiff
path: root/ports/restc-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ports/restc-cpp')
-rw-r--r--ports/restc-cpp/portfile.cmake8
-rw-r--r--ports/restc-cpp/vcpkg.json9
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": [