2020-06-24 05:18:09 +08:00
|
|
|
# Header-only library
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO tlk00/BitMagic
|
2022-10-07 02:42:16 +08:00
|
|
|
REF v7.12.3
|
|
|
|
SHA512 03b9261d102b3c610a4b284f74092feb451b7a5fe80d60002dd2a42e2eeae4b763d212d2647eeb1fc9a61c93500f006ab2bcc46598207903682b70b1e4336b6a
|
2020-06-24 05:18:09 +08:00
|
|
|
HEAD_REF master
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
file(GLOB HEADER_LIST "${SOURCE_PATH}/src/*.h")
|
2021-10-06 06:59:59 +08:00
|
|
|
file(INSTALL ${HEADER_LIST} DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|