2019-08-26 07:16:38 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Dobiasd/FunctionalPlus
|
2022-04-27 10:26:39 +08:00
|
|
|
REF v0.2.18-p0
|
|
|
|
SHA512 119aaef75020ef06818bf5d33db8bce272e89d69699df9be636bc6fdf06b584e1842440896a431ea2a75b88ce01472f3a9886b8dd781f5e5533315e9ad6860ac
|
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)
|