Skip to content

Commit 17249ac

Browse files
committed
[Geneva] Add nlohmann dependence when building as component
1 parent c80826c commit 17249ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exporters/fluentd/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ else()
7272
target_link_libraries(
7373
opentelemetry_exporter_geneva_trace
7474
PUBLIC opentelemetry_trace opentelemetry_resources opentelemetry_common
75-
INTERFACE nlohmann_json::nlohmann_json)
75+
nlohmann_json::nlohmann_json)
7676
endif()
7777

7878
# create fluentd logs exporter
@@ -93,7 +93,7 @@ else()
9393
target_link_libraries(
9494
opentelemetry_exporter_geneva_logs
9595
PUBLIC opentelemetry_logs opentelemetry_resources opentelemetry_common
96-
INTERFACE nlohmann_json::nlohmann_json)
96+
nlohmann_json::nlohmann_json)
9797
endif()
9898

9999
if(nlohmann_json_clone)

0 commit comments

Comments
 (0)