mirror of https://github.com/qt/qtgrpc.git
Point to 'protoc' installation guide when WrapProtoc is not found
Task-number: QTBUG-132738 Pick-to: 6.8 6.9 Change-Id: I166feb4697178c3a8969ce12dcfc6951f480fb9a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
5470136c6b
commit
34293b9090
|
@ -74,5 +74,13 @@ if(__WrapProtoc_protoc_imported_location)
|
|||
set(WrapProtoc_FOUND TRUE)
|
||||
endif()
|
||||
|
||||
if(NOT WrapProtoc_FOUND)
|
||||
if(NOT WrapProtoc_FIND_QUIETLY)
|
||||
message(WARNING "'protoc' executable is not found. Install protobuf using this"
|
||||
" instruction https://protobuf.dev/installation/ and"
|
||||
" make sure 'protoc' executable is in PATH.")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
unset(__WrapProtoc_protoc_imported_location)
|
||||
unset(__WrapProtoc_find_package_args)
|
||||
|
|
Loading…
Reference in New Issue