2019-04-27 03:20:28 +08: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}"
|
|
|
|
SHA512 6edaf4d5f22d640df67813f7525c2e076a76911079e25eeb93f4302a835b26d986379d1aad6bdb98f1781af3a5d638ee02ea9c32765741ce91366b518fc4d447
|
2021-09-14 11:24:22 +08:00
|
|
|
HEAD_REF master
|
2019-04-27 03:20:28 +08:00
|
|
|
)
|
|
|
|
|
2021-09-14 11:24:22 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-04-27 03:20:28 +08:00
|
|
|
)
|
|
|
|
|
2021-09-14 11:24:22 +08:00
|
|
|
vcpkg_cmake_install()
|
2019-04-27 03:20:28 +08:00
|
|
|
|
2021-09-14 11:24:22 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
2020-06-19 07:26:36 +08: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-27 03:20:28 +08:00
|
|
|
|
2021-09-14 11:24:22 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|