]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/double-conversion/portfile.cmake
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / double-conversion / portfile.cmake
CommitLineData
1e59de90
TL
1vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2
3vcpkg_from_github(
4 OUT_SOURCE_PATH SOURCE_PATH
5 REPO google/double-conversion
6 REF v3.1.5
7 SHA512 0aeabdbfa06c3c4802905ac4bf8c2180840577677b47d45e1c91034fe07746428c9db79260ce6bdbdf8b584746066cea9247ba43a9c38155caf1ef44e214180a
8 HEAD_REF master
9)
10
11vcpkg_configure_cmake(
12 SOURCE_PATH ${SOURCE_PATH}
13 PREFER_NINJA
14)
15
16vcpkg_install_cmake()
17
18# Rename exported target files into something vcpkg_fixup_cmake_targets expects
19if(EXISTS ${CURRENT_PACKAGES_DIR}/lib/cmake/double-conversion)
20 vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/double-conversion)
21endif()
22
23vcpkg_copy_pdbs()
24
25file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
26
27# Handle copyright
28configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/double-conversion/copyright COPYONLY)