2019-07-16 02:21:20 +08:00
|
|
|
#header-only library
|
|
|
|
vcpkg_from_github(
|
2022-05-21 05:36:50 +08:00
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO yhirose/cpp-peglib
|
2023-10-03 11:49:56 +08:00
|
|
|
REF "v${VERSION}"
|
2024-02-07 04:34:38 +08:00
|
|
|
SHA512 c579da831822459c643c43be64eded925b2364bc1ae6b99ab8eaeeb48f441ecc2c019b08313027fd12113a1356826c7570d0c8b1b0ea7eef6984d810903b92c4
|
2022-05-21 05:36:50 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
2019-07-16 02:21:20 +08:00
|
|
|
|
2022-05-21 05:36:50 +08:00
|
|
|
file(COPY "${SOURCE_PATH}/peglib.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
|
|
|
|
# Handle copyright
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/cpp-peglib" RENAME copyright)
|
2019-07-16 02:21:20 +08:00
|
|
|
|