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 42851b8 commit 4bc3814Copy full SHA for 4bc3814
cmake/UserverGrpcTargets.cmake
@@ -67,7 +67,7 @@ function(_userver_prepare_grpc)
67
if(NOT gRPC_VERSION)
68
message(FATAL_ERROR "Invalid gRPC package")
69
endif()
70
- if(NOT PROTOBUF_PROTOC AND NOT $<TARGET_FILE:protobuf::protoc>)
+ if(NOT PROTOBUF_PROTOC AND NOT TARGET protobuf::protoc)
71
message(FATAL_ERROR "protoc not found")
72
73
if(NOT PROTO_GRPC_CPP_PLUGIN)
0 commit comments