2021-02-11 15:56:13 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO fastfloat/fast_float
|
2023-04-20 05:33:43 +08:00
|
|
|
REF "v${VERSION}"
|
|
|
|
SHA512 e3a1941364413f008d4bff190df45f95d7100263e57e714a907dba85b705fd19dcd34ac6db3fc332e5232fd4b67442542f2344a81d296ef04282e3d615dfe0fb
|
2021-02-11 15:56:13 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2021-11-20 14:21:35 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2021-02-11 15:56:13 +08:00
|
|
|
)
|
|
|
|
|
2021-11-20 14:21:35 +08:00
|
|
|
vcpkg_cmake_install()
|
2021-02-11 15:56:13 +08:00
|
|
|
|
2022-09-02 00:22:25 +08:00
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME FastFloat CONFIG_PATH share/cmake/FastFloat)
|
2021-02-11 15:56:13 +08:00
|
|
|
|
2021-11-20 14:21:35 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
2023-03-31 02:59:20 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE-MIT")
|