2018-01-30 08:44:57 +08:00
|
|
|
include(vcpkg_common_functions)
|
2018-04-06 12:43:26 +08:00
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO xorz57/forest
|
2020-10-14 04:17:32 +08:00
|
|
|
REF 32b7f643370356b21b7ca70ee306ab1a0ad67704 # 12.1.0
|
|
|
|
SHA512 0598e067acd02d7c882105119db3f3d89ff4001d18faf125effe650478cbd4b436b297238b929cf48f1c6cc108e618859777a640719637e2086c1c1186ab30e0
|
2018-04-06 12:43:26 +08:00
|
|
|
HEAD_REF master
|
2018-01-30 08:44:57 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
# Handle headers
|
2018-06-13 01:32:58 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR} FILES_MATCHING PATTERN "*.hpp")
|
2018-01-30 08:44:57 +08:00
|
|
|
|
|
|
|
# Handle copyright
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/forest RENAME copyright)
|