2017-05-28 20:28:34 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO google/double-conversion
|
2023-09-29 14:12:39 +08:00
|
|
|
REF "v${VERSION}"
|
|
|
|
SHA512 51e84eb7a5c407f7bc8f8b8ca19932ece5c9d8ac18aedff7b7620fc67369d9b2aa8c5a6b133e7f8633d7cc5e3788bad6e60b0e48ac08d0a4bc5e4abe7cee1334
|
2017-05-28 20:28:34 +08:00
|
|
|
HEAD_REF master
|
2016-10-11 20:45:43 +08:00
|
|
|
)
|
2017-05-23 17:31:09 +08:00
|
|
|
|
2022-02-19 06:39:34 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2017-05-28 20:28:34 +08:00
|
|
|
)
|
|
|
|
|
2022-02-19 06:39:34 +08:00
|
|
|
vcpkg_cmake_install()
|
2017-05-28 20:28:34 +08:00
|
|
|
|
2023-04-14 00:13:15 +08:00
|
|
|
# Rename exported target files into something vcpkg_cmake_config_fixup expects
|
2022-02-19 06:39:34 +08:00
|
|
|
if(EXISTS "${CURRENT_PACKAGES_DIR}/lib/cmake/${PORT}")
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
|
2018-03-22 02:34:24 +08:00
|
|
|
endif()
|
2016-10-11 20:45:43 +08:00
|
|
|
|
2017-05-28 20:28:34 +08:00
|
|
|
vcpkg_copy_pdbs()
|
2016-10-11 20:45:43 +08:00
|
|
|
|
2022-02-19 06:39:34 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2016-10-11 20:45:43 +08:00
|
|
|
|
|
|
|
# Handle copyright
|
2022-02-19 06:39:34 +08:00
|
|
|
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|