We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77f1ba4 commit ce1df7dCopy full SHA for ce1df7d
1 file changed
cmake/SetupProtobuf.cmake
@@ -60,7 +60,7 @@ if(NOT USERVER_FORCE_DOWNLOAD_PROTOBUF)
60
61
if(Protobuf_FOUND)
62
_userver_set_protobuf_version_category()
63
- set(PROTOBUF_PROTOC "${Protobuf_PROTOC_EXECUTABLE}")
+ set(PROTOBUF_PROTOC $<TARGET_FILE:protobuf::protoc>)
64
return()
65
endif()
66
0 commit comments