[async-mqtt] Add tls feature. (#32551)

This commit is contained in:
Ómar Högni Guðmarsson 2023-07-24 18:44:07 +00:00 committed by GitHub
parent 3678e75c3a
commit 57ca276412
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 2 deletions

View File

@ -8,9 +8,15 @@ vcpkg_from_github(
HEAD_REF main
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
tls ASYNC_MQTT_USE_TLS
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
${FEATURE_OPTIONS}
-DASYNC_MQTT_BUILD_TOOLS=OFF
-DASYNC_MQTT_BUILD_EXAMPLES=OFF
-DASYNC_MQTT_BUILD_UNIT_TESTS=OFF

View File

@ -1,6 +1,7 @@
{
"name": "async-mqtt",
"version": "1.0.6",
"port-version": 1,
"description": "Header-only Asynchronous MQTT communication library for C++17 based on Boost.Asio.",
"homepage": "https://github.com/redboltz/async_mqtt",
"license": "BSL-1.0",
@ -24,5 +25,16 @@
"name": "vcpkg-cmake-config",
"host": true
}
]
],
"default-features": [
"tls"
],
"features": {
"tls": {
"description": "Enable TLS support",
"dependencies": [
"openssl"
]
}
}
}

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9c89da20b589c01a60d633c5a1db2ed36215eb31",
"version": "1.0.6",
"port-version": 1
},
{
"git-tree": "cd1032beeb26ec19d1a9c384b0c8335249292e66",
"version": "1.0.6",

View File

@ -258,7 +258,7 @@
},
"async-mqtt": {
"baseline": "1.0.6",
"port-version": 0
"port-version": 1
},
"asynch": {
"baseline": "2019-09-21",