vcpkg/ports/forest/portfile.cmake

16 lines
528 B
CMake
Raw Normal View History

include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO xorz57/forest
2018-07-03 21:56:17 +08:00
REF 9.0.0
SHA512 df0634a37c6ab8752a363953c0590ecd48835548ab9bfbcfff41a358aebf1174bae0c023643cf2d9ba8221591033ee97d71a0398150585716040ccc8d05e832c
HEAD_REF master
)
# Handle headers
2018-06-13 01:32:58 +08:00
file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR} FILES_MATCHING PATTERN "*.hpp")
# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/forest RENAME copyright)