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-06-16 13:16:58 +08:00
REF 8.1.1
SHA512 6e203e35f72931fe5991aab996673cd4d587cdf23d5a6149b480e441e179c6ccfa756110612363947eb975c0f31842f9e96727514e77fdbb441adb523fc531df
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)