Sine Striker
2024-05-07 fcdd5e1b8487a36c4adfa665e0a39c883478b654
src/QWindowKitConfig.cmake.in
@@ -5,12 +5,12 @@
find_dependency(QT NAMES Qt6 Qt5 COMPONENTS Core Gui REQUIRED)
find_dependency(Qt${QT_VERSION_MAJOR} COMPONENTS Core Gui REQUIRED)
if ("Widgets" IN_LIST qmsetup_FIND_COMPONENTS)
if ("Widgets" IN_LIST QWindowKit_FIND_COMPONENTS)
    find_dependency(QT NAMES Qt6 Qt5 Widgets REQUIRED)
    find_dependency(Qt${QT_VERSION_MAJOR} Widgets REQUIRED)
endif()
if ("Quick" IN_LIST qmsetup_FIND_COMPONENTS)
if ("Quick" IN_LIST QWindowKit_FIND_COMPONENTS)
    find_dependency(QT NAMES Qt6 Qt5 Quick REQUIRED)
    find_dependency(Qt${QT_VERSION_MAJOR} Quick REQUIRED)
endif()