mirror of https://github.com/qt/qtgrpc.git
CMake: Make grpc chat example build as external project with qemu CI
Make sure to look for the ProtobufTools and GrpcTools packages explicitly, for the grpc 'chat' example, to ensure the public CMake API is available when the example is built as an external project. The Tools packages are not looked up automatically because the target sysroot is missing protobuf tools dependencies, and thus we never record a dependency from the target library packages to the tools packages. Augments68b2e1db08Adapts to63b9cc81dfPick-to: 6.8 Task-number: QTBUG-90820 Task-number: QTBUG-96232 Task-number: QTBUG-110849 Change-Id: I036a37e0fb9c81de325a33ab6ae7322d14ae0cbc Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
0306293011
commit
9968b84cf7
|
|
@ -10,7 +10,7 @@ endif()
|
||||||
|
|
||||||
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/grpc/chat")
|
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/grpc/chat")
|
||||||
|
|
||||||
find_package(Qt6 REQUIRED COMPONENTS Core Protobuf Grpc Quick)
|
find_package(Qt6 REQUIRED COMPONENTS Core Protobuf ProtobufTools Grpc GrpcTools Quick)
|
||||||
|
|
||||||
qt_standard_project_setup()
|
qt_standard_project_setup()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue