2019-08-26 07:16:38 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Dobiasd/FunctionalPlus
|
2021-04-29 06:32:43 +08:00
|
|
|
REF v0.2.14-p0
|
|
|
|
SHA512 f6232140fc343521bc484c7fa1a9d4942fbfc078be1cefa7b34c33632ec23d55827d13319f7b7a5535c5eedeb3161e15f84ecb80aa110685dbfc2c932c57284b
|
2019-08-26 07:16:38 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
2021-04-29 06:32:43 +08:00
|
|
|
OPTIONS
|
|
|
|
-DFPLUS_BUILD_EXAMPLES=OFF
|
|
|
|
-DFunctionalPlus_INSTALL_CMAKEDIR=share/FunctionalPlus
|
2019-08-26 07:16:38 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib)
|
|
|
|
|
2021-04-29 06:32:43 +08:00
|
|
|
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|