mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 04:59:00 +08:00
5176f6e84d
* Update mqtt-cpp to 12.0.0 * Update CI baseline Co-authored-by: chausner <chausner@users.noreply.github.com>
24 lines
748 B
CMake
24 lines
748 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO redboltz/mqtt_cpp
|
|
REF v12.0.0
|
|
SHA512 60f2497633373a316724b7c8f87c090eb2bb26202bf48a55c32a13888bf3ec5e9bdc8854056735f625af5b016bcd9bca179d980077fb8752e16710992a0ea0c5
|
|
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
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
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)
|