2019-08-26 07:16:38 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Dobiasd/FunctionalPlus
|
2023-09-27 16:24:25 +08:00
|
|
|
REF "v${VERSION}"
|
2024-02-29 08:40:50 +08:00
|
|
|
SHA512 025216c9b054b581d2be2c6bf3a9ebf906cce436875d3f7246fdd85f06fe0f29ece9b4dbe3f25228cd329cce36e95aa73fc406fb1bbdd0ee1a6bc30bf95ecf76
|
2019-08-26 07:16:38 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2022-04-27 10:26:39 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2021-04-29 06:32:43 +08:00
|
|
|
OPTIONS
|
|
|
|
-DFunctionalPlus_INSTALL_CMAKEDIR=share/FunctionalPlus
|
2019-08-26 07:16:38 +08:00
|
|
|
)
|
|
|
|
|
2022-04-27 10:26:39 +08:00
|
|
|
vcpkg_cmake_install()
|
2019-08-26 07:16:38 +08:00
|
|
|
|
2022-04-27 10:26:39 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
2019-08-26 07:16:38 +08:00
|
|
|
|
2022-04-27 10:26:39 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|