diff --git a/examples/prometheus/CMakeLists.txt b/examples/prometheus/CMakeLists.txt index f3118a00e9..bee3e7f782 100644 --- a/examples/prometheus/CMakeLists.txt +++ b/examples/prometheus/CMakeLists.txt @@ -2,4 +2,5 @@ include_directories(${CMAKE_SOURCE_DIR}/exporters/prometheus/include) add_executable(prometheus_example main.cc) target_link_libraries( prometheus_example ${CMAKE_THREAD_LIBS_INIT} opentelemetry_metrics - opentelemetry_exporter_prometheus opentelemetry_resources common_metrics_foo_library) + opentelemetry_exporter_prometheus opentelemetry_resources + common_metrics_foo_library) diff --git a/exporters/prometheus/test/CMakeLists.txt b/exporters/prometheus/test/CMakeLists.txt index 245c36bcd4..3180c00e0c 100644 --- a/exporters/prometheus/test/CMakeLists.txt +++ b/exporters/prometheus/test/CMakeLists.txt @@ -2,7 +2,8 @@ foreach(testname exporter_test collector_test exporter_utils_test) add_executable(${testname} "${testname}.cc") target_link_libraries( ${testname} ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} - opentelemetry_exporter_prometheus prometheus-cpp::pull opentelemetry_resources) + opentelemetry_exporter_prometheus prometheus-cpp::pull + opentelemetry_resources) gtest_add_tests( TARGET ${testname} TEST_PREFIX exporter.