2022-05-12 07:45:39 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO rioki/c9y
|
2023-02-13 23:38:21 +08:00
|
|
|
REF v0.7.0
|
|
|
|
SHA512 1c68351a42cea3a5cc52e00d3828acb16d6a96dfc4b9bf53fa4f8090b691a6f5734e2bb219af5cc54bc997517434417a4567d133c5a589f247abe9de73ba1cac
|
2022-05-12 07:45:39 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
2023-01-20 10:02:01 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/c9y)
|
|
|
|
vcpkg_fixup_pkgconfig()
|
2022-05-12 07:45:39 +08:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2022-12-06 06:39:47 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
2022-05-12 07:45:39 +08:00
|
|
|
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|