mirror of https://github.com/qt/qt3d.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: I84d24c8ac2bc0979152554142d80b3eb53f30856 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
920382c85c
commit
aab1bc000f
|
@ -19,6 +19,8 @@ find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS
|
|||
Network Concurrent Widgets Qml Quick ShaderTools Gamepad OpenGL Multimedia QuickWidgets)
|
||||
# special case end
|
||||
|
||||
qt_internal_project_setup()
|
||||
|
||||
if(NOT TARGET Qt::Gui)
|
||||
message(NOTICE "Skipping the build as the condition \"TARGET Qt::Gui\" is not met.")
|
||||
return()
|
||||
|
|
Loading…
Reference in New Issue