vcpkg/ports/frugally-deep/portfile.cmake
Jia Yue Hua 3f8081a313
[frugally-deep] update to 0.15.30 (#36349)
* [frugally-deep] update to 0.15.30

* [frugally-deep] update to 0.15.30
2024-01-24 11:15:33 -08:00

28 lines
800 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Dobiasd/frugally-deep
REF "v${VERSION}"
SHA512 ec31a174a1a13d572d7cfce4a1773964cc185c1acaf91250bc8038cd9eba77f864fe9fd592a39648de8c620f02375142344f70c9663613ab1b406df1c68e6cb1
HEAD_REF master
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
double FDEEP_USE_DOUBLE
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DFDEEP_BUILD_UNITTEST=OFF
-DFDEEP_USE_TOOLCHAIN=ON
${FEATURE_OPTIONS}
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/frugally-deep)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")