From 7ca32817f37bd5ee61117c09f094a8d5ddec3e16 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 28 Dec 2023 17:48:45 +0100 Subject: [PATCH] Drop KF5_REQUIRED_COMPONENTS Only used once, so no need to keep as a variable. Signed-off-by: Andreas Sturmlechner --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 16f8b9caf..e864da324 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,8 +46,6 @@ ecm_set_disabled_deprecation_versions( add_library(kdeconnectversion INTERFACE) target_include_directories(kdeconnectversion INTERFACE ${CMAKE_CURRENT_BINARY_DIR}) -set(KF5_REQUIRED_COMPONENTS I18n ConfigWidgets DBusAddons IconThemes Notifications KIO KCMUtils Service Solid Kirigami People WindowSystem GuiAddons DocTools) - set_package_properties(KF6Kirigami2 PROPERTIES DESCRIPTION "QtQuick plugins to build user interfaces based on KDE UX guidelines" PURPOSE "Required for KDE Connect's QML-based GUI applications" @@ -100,7 +98,8 @@ ecm_find_qmlmodule(QtQuick.Particles 2.0) add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS -DQT_NO_CAST_FROM_ASCII) find_package(Qt6 ${QT_MIN_VERSION} REQUIRED COMPONENTS DBus Quick QuickControls2 Network Multimedia) -find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS ${KF5_REQUIRED_COMPONENTS}) +find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS I18n ConfigWidgets DBusAddons IconThemes Notifications + KIO KCMUtils Service Solid Kirigami People WindowSystem GuiAddons DocTools) if (WIN32) get_filename_component(WINDOWS_KITS_DIR