2019-07-15 21:21:20 +03:00
|
|
|
#header-only library
|
|
|
|
vcpkg_from_github(
|
2022-05-20 23:36:50 +02:00
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO yhirose/cpp-peglib
|
|
|
|
REF adfd2d6014f6cce9510ac2374b277ac8fb931c49
|
|
|
|
SHA512 8a930286a20098efc053988bd5b7e0d3117ce3851a79acf3c9991b75ff85a6340d106522f66ee322f8e7809143f9f74fa1fb051da277db02532dface5cb6f5c3
|
|
|
|
HEAD_REF master
|
|
|
|
)
|
2019-07-15 21:21:20 +03:00
|
|
|
|
2022-05-20 23:36:50 +02: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-15 21:21:20 +03:00
|
|
|
|