From e9d163b1a811ee4f02e898bc7c2e6336d88e4a7f Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周日, 28 7月 2024 18:09:03 +0800 Subject: [PATCH] Make hit-test items auto-delete --- src/QWindowKitConfig.cmake.in | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/QWindowKitConfig.cmake.in b/src/QWindowKitConfig.cmake.in index 12f60f6..51d8a21 100644 --- a/src/QWindowKitConfig.cmake.in +++ b/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") \ No newline at end of file -- Gitblit v1.9.1