vcpkg/ports/fast-float/portfile.cmake

19 lines
565 B
CMake
Raw Normal View History

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO fastfloat/fast_float
REF "v${VERSION}"
SHA512 b2037a24ab6c9a9162f93e7a636def33270f48906e879dd7bb3064787c606d763aaa381eb310975a510d3a801f6a16a2050940f8592f94f336bc8f48f412d6c2
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")