mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 07:19:00 +08:00
[async-mqtt] Add tls feature. (#32551)
This commit is contained in:
parent
3678e75c3a
commit
57ca276412
@ -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
|
||||
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "9c89da20b589c01a60d633c5a1db2ed36215eb31",
|
||||
"version": "1.0.6",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "cd1032beeb26ec19d1a9c384b0c8335249292e66",
|
||||
"version": "1.0.6",
|
||||
|
@ -258,7 +258,7 @@
|
||||
},
|
||||
"async-mqtt": {
|
||||
"baseline": "1.0.6",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"asynch": {
|
||||
"baseline": "2019-09-21",
|
||||
|
Loading…
Reference in New Issue
Block a user