Skip to content

Commit

Permalink
opentelemetry_exporter_etw depends opentelemetry_trace and `opent…
Browse files Browse the repository at this point in the history
…elemetry_logs`

Signed-off-by: owent <[email protected]>
  • Loading branch information
owent committed Mar 6, 2023
1 parent 27b6174 commit 5e20900
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions exporters/etw/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ target_include_directories(
set_target_properties(opentelemetry_exporter_etw PROPERTIES EXPORT_NAME
etw_exporter)

target_link_libraries(opentelemetry_exporter_etw
INTERFACE opentelemetry_api nlohmann_json::nlohmann_json)
target_link_libraries(
opentelemetry_exporter_etw INTERFACE opentelemetry_api opentelemetry_trace
nlohmann_json::nlohmann_json)
if(WITH_LOGS_PREVIEW)
target_link_libraries(opentelemetry_exporter_etw INTERFACE opentelemetry_logs)
endif()
if(nlohmann_json_clone)
add_dependencies(opentelemetry_exporter_etw nlohmann_json::nlohmann_json)
endif()
Expand Down

0 comments on commit 5e20900

Please sign in to comment.