Zhao Yuhang
2024-09-15 f645ae48cda10b80ffe9d83ba9487671c7f535c0
src/QWindowKitConfig.cmake.in
@@ -5,4 +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 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 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")