2021-08-24 13:42:11 +00:00
|
|
|
cmake_minimum_required(VERSION 3.16)
|
|
|
|
|
|
|
|
project(plasma-seventasks)
|
|
|
|
|
|
|
|
find_package(ECM 1.4.0 REQUIRED NO_MODULE)
|
|
|
|
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
|
|
|
|
include(KDEInstallDirs)
|
|
|
|
include(KDECMakeSettings)
|
|
|
|
include(KDECompilerSettings NO_POLICY_SCOPE)
|
|
|
|
include(FeatureSummary)
|
2022-08-28 21:48:51 +00:00
|
|
|
find_package(KF5WindowSystem)
|
2021-08-24 13:42:11 +00:00
|
|
|
find_package(KF5 REQUIRED COMPONENTS
|
|
|
|
Plasma
|
|
|
|
I18n
|
|
|
|
)
|
|
|
|
|
|
|
|
find_package(Qt5 CONFIG REQUIRED COMPONENTS
|
|
|
|
Quick
|
|
|
|
Core
|
|
|
|
)
|
|
|
|
|
|
|
|
add_subdirectory(src)
|
|
|
|
|
|
|
|
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
|