From 280d15e11dd91721afdf90ad3ca4b17166eb3226 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". Signed-off-by: Leonardo Di Donato --- exporters/elasticsearch/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exporters/elasticsearch/CMakeLists.txt b/exporters/elasticsearch/CMakeLists.txt index b21dae400a..ed6488316c 100644 --- a/exporters/elasticsearch/CMakeLists.txt +++ b/exporters/elasticsearch/CMakeLists.txt @@ -10,7 +10,8 @@ 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