2021-10-12 12:05:57 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Tradias/asio-grpc
|
2023-03-21 02:48:44 +08:00
|
|
|
REF "v${VERSION}"
|
2024-02-22 01:56:22 +08:00
|
|
|
SHA512 5780604f4e91886b138d9ce692dd98087587ea7a5624285ee9f8463c300102a6fb53997593d4b2da39663d7ec22cee40b00f13a4cb1588e412b425d7ce4c6d2b
|
2021-10-12 12:05:57 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2024-02-22 01:56:22 +08:00
|
|
|
OPTIONS
|
2022-06-08 08:38:44 +08:00
|
|
|
-DASIO_GRPC_CMAKE_CONFIG_INSTALL_DIR=share/asio-grpc
|
2021-10-12 12:05:57 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
|
2022-06-08 08:38:44 +08:00
|
|
|
vcpkg_cmake_config_fixup()
|
2021-10-12 12:05:57 +08:00
|
|
|
|
2022-06-08 08:38:44 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
2021-10-12 12:05:57 +08:00
|
|
|
|
2021-11-14 02:57:00 +08:00
|
|
|
file(INSTALL "${CURRENT_PORT_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
2022-10-22 06:33:35 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|