98e64e01a6
Summary: * remove unneeded cmake includes * consistently use org.kde.plasma.* prefix for names * fix catalog names to match applet identifier * bump min cmake version to 3.0 * remove duplicated X-KDE-PluginInfo-Name entries * remove no longer (Plasma >=5.8) needed i18nd in wallpaper code * prepare qml extension for ki18n usage Reviewers: mart Reviewed By: mart Subscribers: kde-frameworks-devel, apol Tags: #frameworks Differential Revision: https://phabricator.kde.org/D10848
26 lines
506 B
CMake
26 lines
506 B
CMake
cmake_minimum_required(VERSION 3.0)
|
|
|
|
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)
|
|
include(KDECompilerSettings NO_POLICY_SCOPE)
|
|
include(FeatureSummary)
|
|
|
|
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)
|