2023-06-15 11:36:35 +09:00
|
|
|
set(VCPKG_BUILD_TYPE release) #header-only
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO redboltz/async_mqtt
|
|
|
|
REF "${VERSION}"
|
2023-07-06 03:39:18 +09:00
|
|
|
SHA512 e191079bfbf0382be28acaf1944170902cf5bdcd517870647a4b938ec8eb966f1690eafefb9c6f408c659b70571c5fe0493586b91e1f2eedd24378f4abbe493f
|
2023-06-15 11:36:35 +09:00
|
|
|
HEAD_REF main
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-DASYNC_MQTT_BUILD_TOOLS=OFF
|
|
|
|
-DASYNC_MQTT_BUILD_EXAMPLES=OFF
|
|
|
|
-DASYNC_MQTT_BUILD_UNIT_TESTS=OFF
|
|
|
|
-DASYNC_MQTT_BUILD_SYSTEM_TESTS=OFF
|
|
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
|
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME async_mqtt_iface CONFIG_PATH "lib/cmake/async_mqtt_iface")
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|