]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/kcp/portfile.cmake
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / kcp / portfile.cmake
diff --git a/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/kcp/portfile.cmake b/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/kcp/portfile.cmake
new file mode 100644 (file)
index 0000000..283b9fd
--- /dev/null
@@ -0,0 +1,25 @@
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)\r
+\r
+vcpkg_from_github(\r
+    OUT_SOURCE_PATH SOURCE_PATH\r
+    REPO skywind3000/kcp\r
+    REF 4c58607c917c2a82bf116489c3eb89e4e9aa696d\r
+    SHA512 6689d6c2393eb96bba276de90aec584dae9da0dad5c7bd15519bc61de16de9123e19a945a9e29c5b5cc88bf844ebfb9681b27eb425e3a59a354f13488516cdcc\r
+    HEAD_REF master\r
+)\r
+\r
+vcpkg_configure_cmake(\r
+    SOURCE_PATH ${SOURCE_PATH}\r
+    PREFER_NINJA\r
+    OPTIONS\r
+        -DBUILD_TESTING=OFF\r
+)\r
+\r
+vcpkg_install_cmake()\r
+\r
+vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})\r
+\r
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)\r
+\r
+# Handle copyright\r
+configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)\r