]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/exporters/prometheus/test/CMakeLists.txt
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / exporters / prometheus / test / CMakeLists.txt
1 if(WITH_METRICS_PREVIEW)
2 foreach(testname prometheus_exporter_test prometheus_collector_test
3 prometheus_exporter_utils_test)
4 add_executable(${testname} "${testname}.cc")
5 target_link_libraries(
6 ${testname} ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}
7 prometheus_exporter_deprecated prometheus-cpp::pull)
8 gtest_add_tests(
9 TARGET ${testname}
10 TEST_PREFIX exporter.
11 TEST_LIST ${testname})
12 endforeach()
13 endif()