2017-05-28 20:28:34 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO google/double-conversion
|
2022-12-13 07:36:03 +08:00
|
|
|
REF af09fd65fcf24eee95dc62813ba9123414635428 #v3.2.1
|
|
|
|
SHA512 721d736a2d065b8ff6058345afe6990ab568174e202361abc7ce36c16931c05128df4fd5034f98f114a7b01972eda3b98bfc209ef45394d0b5d4bbce8140b28a
|
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)
|