Skip to content

Commit

Permalink
[mqtt-cpp] Update to 13.0.0 (#25162)
Browse files Browse the repository at this point in the history
* update mqtt-cpp to version 13.0.0, adjust interface installation

* fix versions

* triadias' comments

* fix versions

* Update ports/mqtt-cpp/portfile.cmake

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>

* Update ports/mqtt-cpp/portfile.cmake

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>

* Update ports/mqtt-cpp/portfile.cmake

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
  • Loading branch information
dempo93 and FrankXie05 authored Jun 14, 2022
1 parent b03f150 commit bcf3392
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 12 deletions.
22 changes: 13 additions & 9 deletions ports/mqtt-cpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO redboltz/mqtt_cpp
REF v12.0.0
SHA512 60f2497633373a316724b7c8f87c090eb2bb26202bf48a55c32a13888bf3ec5e9bdc8854056735f625af5b016bcd9bca179d980077fb8752e16710992a0ea0c5
REF v13.0.0
SHA512
2f0c85ac813cc6c99cc5b1ca02514ee6643abc39750bce541a362d1fcd281b8b9011cc39ddeaf4394fd3772904eed15e8ecbe6b3839caad13cae2b04201e682b
HEAD_REF master
)
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DMQTT_BUILD_EXAMPLES=OFF
-DMQTT_BUILD_TESTS=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
)
-DMQTT_BUILD_EXAMPLES=OFF
-DMQTT_BUILD_TESTS=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
)

vcpkg_cmake_install()

vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/mqtt_cpp_iface)
vcpkg_cmake_config_fixup(PACKAGE_NAME mqtt_cpp_iface 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(
INSTALL "${SOURCE_PATH}/LICENSE_1_0.txt"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
RENAME copyright)
5 changes: 3 additions & 2 deletions ports/mqtt-cpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "mqtt-cpp",
"version-semver": "12.0.0",
"version-semver": "13.0.0",
"description": "Header-only MQTT client/server for C++14 based on Boost.Asio.",
"homepage": "https://github.com/redboltz/mqtt_cpp",
"license": "BSL-1.0",
"dependencies": [
"boost-any",
"boost-asio",
"boost-log",
"boost-multi-index",
"boost-program-options",
"boost-type-erasure",
{
"name": "vcpkg-cmake",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4693,7 +4693,7 @@
"port-version": 0
},
"mqtt-cpp": {
"baseline": "12.0.0",
"baseline": "13.0.0",
"port-version": 0
},
"ms-angle": {
Expand Down
5 changes: 5 additions & 0 deletions versions/m-/mqtt-cpp.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "185adb92fcfed90301dfc5aec8390b687cd35403",
"version-semver": "13.0.0",
"port-version": 0
},
{
"git-tree": "869a51ca4a2e5b126e9de0af838a24fb9e7c3ab1",
"version-semver": "12.0.0",
Expand Down

0 comments on commit bcf3392

Please sign in to comment.