2019-04-26 20:20:28 +01:00
|
|
|
vcpkg_from_github(
|
2021-09-14 11:24:22 +08:00
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO fraillt/bitsery
|
2023-08-04 21:55:27 +08:00
|
|
|
REF "v${VERSION}"
|
2024-07-31 22:19:25 +03:00
|
|
|
SHA512 26e525d799d1777e182753c6c970765be8695a557e0fef35224ab8f4629a094c04fd8d7e456da369938d74acb0ca84084f394f212ae1343fa62a27256dba971f
|
2021-09-14 11:24:22 +08:00
|
|
|
HEAD_REF master
|
2019-04-26 20:20:28 +01:00
|
|
|
)
|
|
|
|
|
2021-09-14 11:24:22 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-04-26 20:20:28 +01:00
|
|
|
)
|
|
|
|
|
2021-09-14 11:24:22 +08:00
|
|
|
vcpkg_cmake_install()
|
2019-04-26 20:20:28 +01:00
|
|
|
|
2021-09-14 11:24:22 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
2020-06-19 01:26:36 +02:00
|
|
|
|
2021-09-14 11:24:22 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
2019-04-26 20:20:28 +01:00
|
|
|
|
2021-09-14 11:24:22 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|