mirror of https://github.com/qt/qtgrpc.git
CMake: Add explicit lookup of ProtobufQuick package for magic8ball
Otherwise the example fails to configure when building as as an external project in CI, with the errors: CMake Error at Qt6ProtobufTools/Qt6ProtobufToolsMacros.cmake:605 (target_link_libraries): Target "magic8ball_plugin" links to: Qt6::ProtobufQuick but the target was not found. Pick-to: 6.8 Change-Id: Iab3a8c6162f885efd149374a73f8599c1f375aed Reviewed-by: Dennis Oberst <dennis.oberst@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
1ff1cd4acb
commit
5edd77f14b
|
|
@ -13,6 +13,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/grpc/magic8ball")
|
|||
find_package(Qt6 REQUIRED COMPONENTS
|
||||
Core
|
||||
Protobuf
|
||||
ProtobufQuick
|
||||
Grpc
|
||||
GrpcQuick
|
||||
GrpcTools
|
||||
|
|
|
|||
Loading…
Reference in New Issue