plasma-framework/templates/cpp-plasmoid/CMakeLists.txt
Aleix Pol 942f571094 Let KDE*CompilerSettings change the policies in the project
As suggested in ECM documentation.
2016-01-28 14:56:45 +01:00

28 lines
573 B
CMake

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)
include(KDECompilerSettings NO_POLICY_SCOPE)
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)