]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/function2/portfile.cmake
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / function2 / portfile.cmake
1 vcpkg_from_github(
2 OUT_SOURCE_PATH SOURCE_PATH
3 REPO Naios/function2
4 REF 3a0746bf5f601dfed05330aefcb6854354fce07d # 4.1.0
5 SHA512 48dd8fb1ce47df0835c03edf78ae427beebfeeaaabf6b993eb02843f72cce796ba5d1042f505990f29debd42bc834e531335484d45ca33e841657e9ff9e5034f
6 HEAD_REF master
7 PATCHES
8 disable-testing.patch
9 )
10
11 vcpkg_configure_cmake(
12 SOURCE_PATH ${SOURCE_PATH}
13 PREFER_NINJA
14 )
15
16 vcpkg_install_cmake()
17
18 vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
19
20 file(REMOVE ${CURRENT_PACKAGES_DIR}/Readme.md)
21 file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
22
23 # Put the installed licence file where vcpkg expects it
24 file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/share/${PORT})
25 file(RENAME ${CURRENT_PACKAGES_DIR}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
26
27 vcpkg_copy_pdbs()