plasma-framework/templates/cpp-plasmoid/CMakeLists.txt
Ahmad Samir 38d24bfac0 Bump required CMake version to 3.16
KF6 task: https://phabricator.kde.org/T14467

Bump cmake_minimum_required to 3.16 in templates too.
2021-05-31 17:28:31 +02:00

26 lines
485 B
CMake

cmake_minimum_required(VERSION 3.16)
project(plasma-%{APPNAMELC})
find_package(ECM 1.4.0 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
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)