2021-04-29 06:32:43 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Dobiasd/frugally-deep
|
2024-01-25 03:15:33 +08:00
|
|
|
REF "v${VERSION}"
|
2024-10-08 03:11:51 +08:00
|
|
|
SHA512 d36063ecfe5cfc2a96e0b0db85270e81b714d5ad8103ce9eca3ee3c465c5911a398664e4f97184b3f5f5a5d55b27ba27f4aaa7facf544d66a57406c798227d05
|
2021-04-29 06:32:43 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
|
|
FEATURES
|
|
|
|
double FDEEP_USE_DOUBLE
|
|
|
|
)
|
|
|
|
|
2022-12-01 01:36:10 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2021-04-29 06:32:43 +08:00
|
|
|
OPTIONS
|
|
|
|
-DFDEEP_BUILD_UNITTEST=OFF
|
|
|
|
-DFDEEP_USE_TOOLCHAIN=ON
|
|
|
|
${FEATURE_OPTIONS}
|
|
|
|
)
|
|
|
|
|
2022-12-01 01:36:10 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/frugally-deep)
|
2021-04-29 06:32:43 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
|
2022-12-01 01:36:10 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|