Sine Striker
2024-05-23 0a4c6076fe4202dc72d2b5bfbf0a41fa94671775
src/QWindowKitConfig.cmake.in
@@ -5,14 +5,14 @@
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)
    find_dependency(QT NAMES Qt6 Qt5 Widgets REQUIRED)
    find_dependency(Qt${QT_VERSION_MAJOR} Widgets REQUIRED)
if ("Widgets" IN_LIST QWindowKit_FIND_COMPONENTS)
    find_dependency(QT NAMES Qt6 Qt5 COMPONENTS Widgets REQUIRED)
    find_dependency(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets REQUIRED)
endif()
if ("Quick" IN_LIST qmsetup_FIND_COMPONENTS)
    find_dependency(QT NAMES Qt6 Qt5 Quick REQUIRED)
    find_dependency(Qt${QT_VERSION_MAJOR} Quick REQUIRED)
if ("Quick" IN_LIST QWindowKit_FIND_COMPONENTS)
    find_dependency(QT NAMES Qt6 Qt5 COMPONENTS Quick REQUIRED)
    find_dependency(Qt${QT_VERSION_MAJOR} COMPONENTS Quick REQUIRED)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/QWindowKitTargets.cmake")