]> git.proxmox.com Git - ceph.git/blob - 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
1 diff -ur a/CMakeLists.txt b/CMakeLists.txt
2 --- a/CMakeLists.txt
3 +++ b/CMakeLists.txt
4 @@ -136,7 +136,7 @@
5 # other subdirectories
6 # only add if not inside add_subdirectory()
7 option(TYPE_SAFE_BUILD_TEST_EXAMPLE "build test and example" OFF)
8 -if(${TYPE_SAFE_BUILD_TEST_EXAMPLE} OR (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR))
9 +if(${TYPE_SAFE_BUILD_TEST_EXAMPLE})
10 enable_testing()
11 add_subdirectory(example/)
12 add_subdirectory(test/)