2024-09-21 10:21:56 +08:00
|
|
|
set(VCPKG_BUILD_TYPE release) # header-only
|
|
|
|
|
2024-06-22 04:31:11 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO lemire/fast_double_parser
|
|
|
|
REF "v${VERSION}"
|
2024-09-21 10:21:56 +08:00
|
|
|
SHA512 41115f3c3b77ad430b0b4a1e622dd2a911ce3283bfd4190b5081f368cd1c371c68cf49789a12a2ed610a91e5b4693fe0b9b0d07876e82cfb0b106a6bc33dedd0
|
2024-06-22 04:31:11 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2024-09-21 10:21:56 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-DBUILD_TESTING=OFF
|
|
|
|
)
|
2024-06-22 04:31:11 +08:00
|
|
|
|
2024-09-21 10:21:56 +08:00
|
|
|
vcpkg_cmake_install()
|
2024-06-22 04:31:11 +08:00
|
|
|
|
2024-09-21 10:21:56 +08:00
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME fast_double_parser)
|
|
|
|
|
2024-06-22 04:31:11 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|