From 30e6bd36037754dfbdf387d1e20aaee59d555305 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Bidar?= Date: Fri, 27 May 2022 06:14:33 +0300 Subject: [PATCH] CMakeLists: Reformat find_package as done in KDE projects --- CMakeLists.txt | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fb0e438..66f1de0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,8 +7,24 @@ set (CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_MODULE_PATH} ) -find_package (Qt5 ${QT_MIN_VERSION} REQUIRED CONFIG COMPONENTS Widgets Core Quick DBus) -find_package (KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS I18n Service Runner TextWidgets ConfigWidgets PlasmaQuick Notifications Auth) +find_package (Qt5 ${QT_MIN_VERSION} + REQUIRED CONFIG COMPONENTS + Widgets + Core + Quick + DBus +) +find_package (KF5 ${KF5_MIN_VERSION} + REQUIRED COMPONENTS + I18n + Service + Runner + TextWidgets + ConfigWidgets + PlasmaQuick + Notifications + Auth +) include(KDEInstallDirs) include(KDECMakeSettings)