2022-05-12 07:45:39 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO rioki/c9y
|
2023-05-23 02:46:55 +08:00
|
|
|
REF v0.8.0
|
|
|
|
SHA512 f3161bde45fd534029ef4609b1b49d4edbeb636c9305e01e7e9cfa6a62cde0978632d46597510bea0ff96cae09b819905c0d8c5d2fd85cf641d7b47ea2a732b1
|
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)
|