Skip to content

Commit 4bc3814

Browse files
committed
fix condition
1 parent 42851b8 commit 4bc3814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/UserverGrpcTargets.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function(_userver_prepare_grpc)
6767
if(NOT gRPC_VERSION)
6868
message(FATAL_ERROR "Invalid gRPC package")
6969
endif()
70-
if(NOT PROTOBUF_PROTOC AND NOT $<TARGET_FILE:protobuf::protoc>)
70+
if(NOT PROTOBUF_PROTOC AND NOT TARGET protobuf::protoc)
7171
message(FATAL_ERROR "protoc not found")
7272
endif()
7373
if(NOT PROTO_GRPC_CPP_PLUGIN)

0 commit comments

Comments
 (0)