mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 13:07:56 +08:00
09c9d1b75d
* Update portfile.cmake * [forest] Update to version 7.0.1 * [forest] Use vcpkg_from_github
16 lines
526 B
CMake
16 lines
526 B
CMake
include(vcpkg_common_functions)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO xorz57/forest
|
|
REF 7.0.1
|
|
SHA512 75f5f643ec20bab3298e5983f2ab1672dc304102059cf454341fe37495f1e18ac6a6fcce927b49f441a586ec788d4be44e1ceab8e1947565c2ab3ff519daded8
|
|
HEAD_REF master
|
|
)
|
|
|
|
# Handle headers
|
|
file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR} FILES_MATCHING PATTERN "*.h")
|
|
|
|
# Handle copyright
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/forest RENAME copyright)
|