2015-11-30 14:58:35 +01:00
|
|
|
cmake_minimum_required(VERSION 2.8.12)
|
|
|
|
|
|
|
|
project(plasma-%{APPNAMELC})
|
|
|
|
|
|
|
|
find_package(ECM 1.4.0 REQUIRED NO_MODULE)
|
|
|
|
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
|
|
|
|
|
|
|
|
include(KDEInstallDirs)
|
|
|
|
include(KDECMakeSettings)
|
2016-01-28 14:56:45 +01:00
|
|
|
include(KDECompilerSettings NO_POLICY_SCOPE)
|
2015-11-30 14:58:35 +01:00
|
|
|
include(ECMInstallIcons)
|
|
|
|
include(ECMMarkAsTest)
|
|
|
|
include(ECMMarkNonGuiExecutable)
|
|
|
|
include(FeatureSummary)
|
|
|
|
include(CheckIncludeFiles)
|
|
|
|
|
|
|
|
find_package(KF5 REQUIRED COMPONENTS
|
|
|
|
Plasma
|
|
|
|
I18n
|
|
|
|
)
|
|
|
|
|
|
|
|
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
|
|
|
|
Quick
|
|
|
|
Core
|
|
|
|
)
|
|
|
|
|
|
|
|
add_subdirectory(src)
|