[mqtt-cpp] Update to 12.0.0 (#21379)

* Update mqtt-cpp to 12.0.0

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
This commit is contained in:
chausner 2021-11-16 01:32:11 +01:00 committed by GitHub
parent 899d16cefa
commit 5176f6e84d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 15 deletions

View File

@ -1,24 +1,23 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO redboltz/mqtt_cpp
REF v9.0.0
SHA512 4c9bef6abdb6bdec6ac60976f78e3e02c29d11c74cad0d3191e1d9b7befd327cd06f8a62e398d5997358b7e6974af3d6a73f68de47dd07ff099d46ba35fc84d8
REF v12.0.0
SHA512 60f2497633373a316724b7c8f87c090eb2bb26202bf48a55c32a13888bf3ec5e9bdc8854056735f625af5b016bcd9bca179d980077fb8752e16710992a0ea0c5
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DMQTT_BUILD_EXAMPLES=OFF
-DMQTT_BUILD_TESTS=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
)
vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/mqtt_cpp_iface)
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/mqtt_cpp_iface)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib)
file(INSTALL ${SOURCE_PATH}/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
file(INSTALL "${SOURCE_PATH}/LICENSE_1_0.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,7 +1,6 @@
{
"name": "mqtt-cpp",
"version-string": "9.0.0",
"port-version": 1,
"version-semver": "12.0.0",
"description": "Header-only MQTT client/server for C++14 based on Boost.Asio.",
"homepage": "https://github.com/redboltz/mqtt_cpp",
"dependencies": [
@ -9,6 +8,14 @@
"boost-asio",
"boost-log",
"boost-multi-index",
"boost-type-erasure"
"boost-type-erasure",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -4501,8 +4501,8 @@
"port-version": 1
},
"mqtt-cpp": {
"baseline": "9.0.0",
"port-version": 1
"baseline": "12.0.0",
"port-version": 0
},
"ms-angle": {
"baseline": "alias",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "869a51ca4a2e5b126e9de0af838a24fb9e7c3ab1",
"version-semver": "12.0.0",
"port-version": 0
},
{
"git-tree": "9f27414bfee2919393dcfd5da41342fab9ba13ae",
"version-string": "9.0.0",