cmake_minimum_required(VERSION 3.16) project(plasma-%{APPNAMELC}) set(QT_MIN_VERSION "6.7.0") set(KF6_MIN_VERSION "6.0.0") find_package(ECM ${KF6_MIN_VERSION} REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) include(KDEInstallDirs) include(KDECMakeSettings) include(KDECompilerSettings NO_POLICY_SCOPE) include(FeatureSummary) find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Quick Core ) find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS I18n ) find_package(Plasma REQUIRED) add_subdirectory(src) feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)