From 05a31b5884409a1409d1b3096959a77fa165876c Mon Sep 17 00:00:00 2001 From: Leo Di Donato Date: Fri, 13 May 2022 01:47:18 +0200 Subject: [PATCH] fix: missing link to nlohmann_json `es_log_exporter.h` includes "nlohmann/json.hpp". --- exporters/elasticsearch/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exporters/elasticsearch/CMakeLists.txt b/exporters/elasticsearch/CMakeLists.txt index b21dae400a..d88a747673 100644 --- a/exporters/elasticsearch/CMakeLists.txt +++ b/exporters/elasticsearch/CMakeLists.txt @@ -10,7 +10,7 @@ target_include_directories( target_link_libraries( opentelemetry_exporter_elasticsearch_logs - PUBLIC opentelemetry_trace opentelemetry_logs opentelemetry_http_client_curl) + PUBLIC opentelemetry_trace opentelemetry_logs opentelemetry_http_client_curl nlohmann_json::nlohmann_json) install( TARGETS opentelemetry_exporter_elasticsearch_logs