cmake: Fix QtQuick not being found when using installed kddw
This commit is contained in:
@@ -12,8 +12,13 @@
|
||||
include(CMakeFindDependencyMacro)
|
||||
|
||||
find_dependency(Qt@Qt_VERSION_MAJOR@Widgets REQUIRED)
|
||||
if (@KDDockWidgets_QTQUICK@)
|
||||
if (@KDDW_FRONTEND_QTQUICK@)
|
||||
find_dependency(Qt@Qt_VERSION_MAJOR@Quick REQUIRED)
|
||||
find_dependency(Qt@Qt_VERSION_MAJOR@QuickControls2 REQUIRED)
|
||||
endif()
|
||||
|
||||
if (@KDDockWidgets_DEVELOPER_MODE@)
|
||||
find_dependency(Qt@Qt_VERSION_MAJOR@Test REQUIRED)
|
||||
endif()
|
||||
|
||||
if (NOT WIN32 AND NOT APPLE AND NOT EMSCRIPTEN AND NOT @KDDockWidgets_QT6@ AND @KDDockWidgets_X11EXTRAS@)
|
||||
|
||||
Reference in New Issue
Block a user