Skip to content

Commit 29f86c6

Browse files
committed
log protobuf and grpc versions if built using FetchContent
1 parent e456a20 commit 29f86c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,10 +591,10 @@ if(opentelemetry-proto_VERSION)
591591
"opentelemetry-proto: ${opentelemetry-proto_VERSION} (${opentelemetry-proto_PROVIDER})"
592592
)
593593
endif()
594-
if(Protobuf_FOUND)
594+
if(Protobuf_VERSION)
595595
message(STATUS "Protobuf: ${Protobuf_VERSION} (${Protobuf_PROVIDER})")
596596
endif()
597-
if(gRPC_FOUND)
597+
if(gRPC_VERSION)
598598
message(STATUS "gRPC: ${gRPC_VERSION} (${gRPC_PROVIDER})")
599599
endif()
600600
if(CURL_FOUND)

0 commit comments

Comments
 (0)