Skip to content

Commit

Permalink
[BUILD] Version opentelemetry_proto/proto_grpc shared libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
Troels51 committed Jul 5, 2024
1 parent f6dca99 commit e47bac6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/opentelemetry-proto.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ add_library(
${TRACE_SERVICE_PB_CPP_FILE}
${LOGS_SERVICE_PB_CPP_FILE}
${METRICS_SERVICE_PB_CPP_FILE})
set_target_version(opentelemetry_proto)

if(WITH_ABSEIL)
target_link_libraries(opentelemetry_proto PUBLIC absl::bad_variant_access)
Expand All @@ -335,6 +336,7 @@ if(WITH_OTLP_GRPC)
opentelemetry_proto_grpc
${OTELCPP_PROTO_TARGET_OPTIONS} ${TRACE_SERVICE_GRPC_PB_CPP_FILE}
${LOGS_SERVICE_GRPC_PB_CPP_FILE} ${METRICS_SERVICE_GRPC_PB_CPP_FILE})
set_target_version(opentelemetry_proto_grpc)

list(APPEND OPENTELEMETRY_PROTO_TARGETS opentelemetry_proto_grpc)
target_link_libraries(opentelemetry_proto_grpc PUBLIC opentelemetry_proto)
Expand Down

0 comments on commit e47bac6

Please sign in to comment.