mirror of https://github.com/qt/qtgrpc.git
Add the missing lookup for Qt6::ProtobufTools to client guide server
Sever uses WrapProtoc target to generate the reference protobuf and
grpc code.
Add the missing package lookup.
Amends dedd3edd3f
Pick-to: 6.8 6.9
Task-number: QTBUG-125406
Change-Id: I3cc93443170dcddfada3ddff266b958e86a2d460
Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
This commit is contained in:
parent
00e8a0e5a1
commit
0dba8755c8
|
@ -8,6 +8,7 @@ set(CMAKE_FIND_PACKAGE_PREFER_CONFIG TRUE)
|
|||
|
||||
find_package(protobuf)
|
||||
find_package(gRPC)
|
||||
find_package(Qt6 COMPONENTS ProtobufTools)
|
||||
|
||||
if(NOT TARGET gRPC::grpc_cpp_plugin OR NOT TARGET WrapProtoc::WrapProtoc
|
||||
OR NOT TARGET gRPC::grpc++)
|
||||
|
|
Loading…
Reference in New Issue