354bd71296
Summary: Allows to quickly start a new wallpaper which also wants to use a custom QML extension. Reviewers: mart Reviewed By: mart Subscribers: #frameworks Tags: #frameworks Differential Revision: https://phabricator.kde.org/D10849
31 lines
638 B
CMake
31 lines
638 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
|
|
Qml
|
|
Gui
|
|
Core
|
|
)
|
|
|
|
# wallpaper applet
|
|
plasma_install_package(package org.kde.plasma.%{APPNAMELC} wallpapers wallpaper)
|
|
|
|
# qml extension plugin
|
|
add_subdirectory(plugin)
|
|
|
|
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
|