We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc60934 commit 41538b0Copy full SHA for 41538b0
cmake/opentelemetry-proto.cmake
@@ -325,6 +325,7 @@ add_library(
325
${TRACE_SERVICE_PB_CPP_FILE}
326
${LOGS_SERVICE_PB_CPP_FILE}
327
${METRICS_SERVICE_PB_CPP_FILE})
328
+set_target_version(opentelemetry_proto)
329
330
# Disable include-what-you-use on generated code.
331
set_target_properties(
@@ -341,6 +342,7 @@ if(WITH_OTLP_GRPC)
341
342
opentelemetry_proto_grpc
343
${OTELCPP_PROTO_TARGET_OPTIONS} ${TRACE_SERVICE_GRPC_PB_CPP_FILE}
344
${LOGS_SERVICE_GRPC_PB_CPP_FILE} ${METRICS_SERVICE_GRPC_PB_CPP_FILE})
345
+ set_target_version(opentelemetry_proto_grpc)
346
347
list(APPEND OPENTELEMETRY_PROTO_TARGETS opentelemetry_proto_grpc)
348
target_link_libraries(opentelemetry_proto_grpc PUBLIC opentelemetry_proto)
0 commit comments