From 6a110537e2be97ab5ac397962941dde601a9c8dc Mon Sep 17 00:00:00 2001 From: Tom Tan Date: Thu, 5 Dec 2024 16:32:34 -0800 Subject: [PATCH] [Geneva] Add nlohmann dependence when building as component (#501) --- exporters/fluentd/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exporters/fluentd/CMakeLists.txt b/exporters/fluentd/CMakeLists.txt index 0cd7354b3..3e9bc6866 100644 --- a/exporters/fluentd/CMakeLists.txt +++ b/exporters/fluentd/CMakeLists.txt @@ -72,7 +72,7 @@ else() target_link_libraries( opentelemetry_exporter_geneva_trace PUBLIC opentelemetry_trace opentelemetry_resources opentelemetry_common - INTERFACE nlohmann_json::nlohmann_json) + nlohmann_json::nlohmann_json) endif() # create fluentd logs exporter @@ -93,7 +93,7 @@ else() target_link_libraries( opentelemetry_exporter_geneva_logs PUBLIC opentelemetry_logs opentelemetry_resources opentelemetry_common - INTERFACE nlohmann_json::nlohmann_json) + nlohmann_json::nlohmann_json) endif() if(nlohmann_json_clone)