From 8695e8a1f3e64e69aa5d1aa70ea1b131322b6447 Mon Sep 17 00:00:00 2001 From: iocumine Date: Fri, 2 Jul 2021 20:34:35 +0200 Subject: [PATCH] nlohmann_json::nlohmann_json added (#888) --- exporters/otlp/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/exporters/otlp/CMakeLists.txt b/exporters/otlp/CMakeLists.txt index 3af587b4a86..1ca788af581 100644 --- a/exporters/otlp/CMakeLists.txt +++ b/exporters/otlp/CMakeLists.txt @@ -33,8 +33,10 @@ if(WITH_OTLP_HTTP) set_target_properties(opentelemetry_exporter_otlp_http PROPERTIES EXPORT_NAME otlp_http_exporter) - target_link_libraries(opentelemetry_exporter_otlp_http - PUBLIC opentelemetry_otlp_recordable http_client_curl) + target_link_libraries( + opentelemetry_exporter_otlp_http + PUBLIC opentelemetry_otlp_recordable http_client_curl + nlohmann_json::nlohmann_json) list(APPEND OPENTELEMETRY_OTLP_TARGETS opentelemetry_exporter_otlp_http) endif()