diff --git a/ext/src/dll/CMakeLists.txt b/ext/src/dll/CMakeLists.txt index 109000ea3e..687d55e01f 100644 --- a/ext/src/dll/CMakeLists.txt +++ b/ext/src/dll/CMakeLists.txt @@ -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()