From 87c216f5c83c23e924ee570f68cf427053ea32ef Mon Sep 17 00:00:00 2001 From: Tom Tan Date: Fri, 23 May 2025 09:42:32 -0700 Subject: [PATCH] [CMake] Add missing CMake keyword for target_link_libraries (#3442) --- examples/otlp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/otlp/CMakeLists.txt b/examples/otlp/CMakeLists.txt index 8dad0101fc..e6102611b6 100644 --- a/examples/otlp/CMakeLists.txt +++ b/examples/otlp/CMakeLists.txt @@ -115,7 +115,7 @@ if(WITH_OTLP_HTTP) target_compile_definitions(example_otlp_instrumented_http PRIVATE OPENTELEMETRY_BUILD_IMPORT_DLL) target_link_libraries(example_otlp_instrumented_http - opentelemetry-cpp::opentelemetry_cpp) + PRIVATE opentelemetry-cpp::opentelemetry_cpp) else() target_link_libraries( example_otlp_instrumented_http