mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 06:41:47 +08:00
1fc833f6e0
Co-authored-by: Chenxi Li <chenxil@yanhuangdata.com>
19 lines
567 B
CMake
19 lines
567 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO fastfloat/fast_float
|
|
REF "v${VERSION}"
|
|
SHA512 e3a1941364413f008d4bff190df45f95d7100263e57e714a907dba85b705fd19dcd34ac6db3fc332e5232fd4b67442542f2344a81d296ef04282e3d615dfe0fb
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME FastFloat CONFIG_PATH share/cmake/FastFloat)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE-MIT")
|