mirror of https://github.com/qt/qtgrpc.git
Add the use of the qt_internal_project_setup function
The function sets the required CMake variables and policies. Pick-to: 6.5 Task-number: QTBUG-112685 Change-Id: Ib5c5673e7cdb7124ccfc49f452813eb181f7dd3c Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
This commit is contained in:
parent
7620f32bbd
commit
df129dcc46
|
@ -14,6 +14,7 @@ project(QtGrpc
|
|||
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core)
|
||||
find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Network Gui Widgets Quick
|
||||
QuickControls2)
|
||||
qt_internal_project_setup()
|
||||
|
||||
# Try to find Qt6::qtprotobufgen and Qt6::qtgrpcgen targets from host tools
|
||||
# when cross-compiling.
|
||||
|
|
Loading…
Reference in New Issue