2021-02-11 08:56:13 +01:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO fastfloat/fast_float
|
2021-11-20 14:21:35 +08:00
|
|
|
REF v3.2.0
|
|
|
|
SHA512 8c0819501f854688942bf2676a9592c537b14b472a942695d589a75499f43bef57a8cb98b41b285dcfc0122f804c85e477d5aee82750a69308bdbf16c98ce2a7
|
2021-02-11 08:56:13 +01:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2021-11-20 14:21:35 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2021-02-11 08:56:13 +01:00
|
|
|
)
|
|
|
|
|
2021-11-20 14:21:35 +08:00
|
|
|
vcpkg_cmake_install()
|
2021-02-11 08:56:13 +01:00
|
|
|
|
2021-11-20 14:21:35 +08:00
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME FastFloat CONFIG_PATH share/FastFloat)
|
2021-02-11 08:56:13 +01:00
|
|
|
|
2021-11-20 14:21:35 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE-MIT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|