mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
85da6f8e19
* update to 1.9.1 * update versions * add blank line * update version
16 lines
507 B
Diff
16 lines
507 B
Diff
diff --git a/cmake/opentelemetry-proto.cmake b/cmake/opentelemetry-proto.cmake
|
|
index 34b33d3..19e67e9 100644
|
|
--- a/cmake/opentelemetry-proto.cmake
|
|
+++ b/cmake/opentelemetry-proto.cmake
|
|
@@ -311,6 +311,10 @@ if(WITH_OTLP_GRPC)
|
|
endif()
|
|
endif()
|
|
|
|
+if(TARGET gRPC::grpc++)
|
|
+ target_link_libraries(opentelemetry_proto PUBLIC gRPC::grpc++)
|
|
+endif()
|
|
+
|
|
if(BUILD_SHARED_LIBS)
|
|
foreach(proto_target ${OPENTELEMETRY_PROTO_TARGETS})
|
|
set_property(TARGET ${proto_target} PROPERTY POSITION_INDEPENDENT_CODE ON)
|