]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/optional-bare/portfile.cmake
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / optional-bare / portfile.cmake
CommitLineData
1e59de90
TL
1vcpkg_from_github(\r
2 OUT_SOURCE_PATH SOURCE_PATH\r
3 REPO martinmoene/optional-bare\r
4 REF v1.1.0\r
5 SHA512 0eed103c4e909991b596c0cd23d6206662e3ca71cd8148e27c19d8e071c2a16e18cc940a6cd4f8571510f5e64577157f94c561fb889330bb7a868af64c2f3aa0\r
6)\r
7\r
8vcpkg_configure_cmake(\r
9 SOURCE_PATH ${SOURCE_PATH}\r
10 PREFER_NINJA\r
11 OPTIONS\r
12 -DOPTIONAL_BARE_OPT_BUILD_TESTS=OFF\r
13 -DOPTIONAL_BARE_OPT_BUILD_EXAMPLES=OFF\r
14)\r
15\r
16vcpkg_install_cmake()\r
17\r
18vcpkg_fixup_cmake_targets(\r
19 CONFIG_PATH lib/cmake/${PORT}\r
20)\r
21\r
22file(REMOVE_RECURSE\r
23 ${CURRENT_PACKAGES_DIR}/debug\r
24 ${CURRENT_PACKAGES_DIR}/lib\r
25)\r
26\r
27file(INSTALL\r
28 ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright\r
29)\r