2024-10-22 06:30:48 +02:00
|
|
|
set(VCPKG_BUILD_TYPE release) # header-only
|
|
|
|
|
2021-10-12 06:05:57 +02:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Tradias/asio-grpc
|
2023-03-20 19:48:44 +01:00
|
|
|
REF "v${VERSION}"
|
2024-12-16 16:17:35 +01:00
|
|
|
SHA512 5793f6eb644f6fa4cf520f595f9a61b0b2a90c79cb0890dfb5b986a1b403f853beac9a86ea5663d34d5947908e5eec0ec4238c358b21d3f8f4292f7ad6df19aa
|
2021-10-12 06:05:57 +02:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2024-02-21 18:56:22 +01:00
|
|
|
OPTIONS
|
2022-06-08 02:38:44 +02:00
|
|
|
-DASIO_GRPC_CMAKE_CONFIG_INSTALL_DIR=share/asio-grpc
|
2021-10-12 06:05:57 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
|
2022-06-08 02:38:44 +02:00
|
|
|
vcpkg_cmake_config_fixup()
|
2021-10-12 06:05:57 +02:00
|
|
|
|
2022-06-08 02:38:44 +02:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
2021-10-12 06:05:57 +02:00
|
|
|
|
2021-11-13 19:57:00 +01:00
|
|
|
file(INSTALL "${CURRENT_PORT_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
2022-10-22 00:33:35 +02:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|