]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/type-safe/disable_tests.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / type-safe / disable_tests.patch
diff --git a/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/type-safe/disable_tests.patch b/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/type-safe/disable_tests.patch
new file mode 100644 (file)
index 0000000..f18d2eb
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ur a/CMakeLists.txt b/CMakeLists.txt\r
+--- a/CMakeLists.txt\r
++++ b/CMakeLists.txt\r
+@@ -136,7 +136,7 @@\r
+ # other subdirectories\r
+ # only add if not inside add_subdirectory()\r
+ option(TYPE_SAFE_BUILD_TEST_EXAMPLE "build test and example" OFF)\r
+-if(${TYPE_SAFE_BUILD_TEST_EXAMPLE} OR (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR))\r
++if(${TYPE_SAFE_BUILD_TEST_EXAMPLE})\r
+     enable_testing()\r
+     add_subdirectory(example/)\r
+     add_subdirectory(test/)\r