Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
meastp authored Sep 4, 2024
1 parent 35c1d14 commit 80be9d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@ if(WITH_OTLP_GRPC
OR WITH_OTLP_HTTP
OR WITH_OTLP_FILE)
find_package(Protobuf)
if(Protobuf_VERSION AND Protobuf_VERSION VERSION_GREATER_EQUAL "3.22.0" AND (NOT DEFINED CMAKE_TOOLCHAIN_FILE))
if(Protobuf_VERSION
AND Protobuf_VERSION VERSION_GREATER_EQUAL "3.22.0"
AND (NOT DEFINED CMAKE_TOOLCHAIN_FILE))
if(NOT WITH_ABSEIL)
message(
FATAL_ERROR
Expand Down

0 comments on commit 80be9d9

Please sign in to comment.