Skip to content

Commit

Permalink
Fix CMakeLists
Browse files Browse the repository at this point in the history
Signed-off-by: Harish Shan <140232061+perhapsmaple@users.noreply.github.com>
  • Loading branch information
perhapsmaple committed Oct 17, 2023
1 parent 397e565 commit 26b2207
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ext/src/dll/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ target_link_libraries(
opentelemetry_exporter_ostream_metrics)

if(WITH_OTLP_GRPC)
add_compile_definitions(WITH_OTLP_GRPC)
target_link_libraries(opentelemetry_cpp
PRIVATE opentelemetry_exporter_otlp_grpc_metrics)
endif()

if(WITH_OTLP_HTTP)
add_compile_definitions(WITH_OTLP_HTTP)
target_link_libraries(opentelemetry_cpp
PRIVATE opentelemetry_exporter_otlp_http_metric)
endif()
Expand Down

0 comments on commit 26b2207

Please sign in to comment.