Skip to content

Commit 2e344f2

Browse files
committed
Remove OPENTELEMETRY_OTLP_PROTO_LIB_TYPE
1 parent 1dc2b36 commit 2e344f2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cmake/opentelemetry-proto.cmake

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@ endif()
322322
set(OPENTELEMETRY_PROTO_TARGETS opentelemetry_proto)
323323
add_library(
324324
opentelemetry_proto
325-
${OPENTELEMETRY_OTLP_PROTO_LIB_TYPE}
326325
${OTELCPP_PROTO_TARGET_OPTIONS}
327326
${COMMON_PB_CPP_FILE}
328327
${RESOURCE_PB_CPP_FILE}
@@ -354,9 +353,8 @@ endif()
354353
if(WITH_OTLP_GRPC)
355354
add_library(
356355
opentelemetry_proto_grpc
357-
${OPENTELEMETRY_OTLP_PROTO_LIB_TYPE} ${OTELCPP_PROTO_TARGET_OPTIONS}
358-
${TRACE_SERVICE_GRPC_PB_CPP_FILE} ${LOGS_SERVICE_GRPC_PB_CPP_FILE}
359-
${METRICS_SERVICE_GRPC_PB_CPP_FILE})
356+
${OTELCPP_PROTO_TARGET_OPTIONS} ${TRACE_SERVICE_GRPC_PB_CPP_FILE}
357+
${LOGS_SERVICE_GRPC_PB_CPP_FILE} ${METRICS_SERVICE_GRPC_PB_CPP_FILE})
360358
set_target_version(opentelemetry_proto_grpc)
361359

362360
# Disable include-what-you-use and clang-tidy on generated code.

0 commit comments

Comments
 (0)