blob: f6856ef5dd95751df2f7466adf2706f043d023d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Set minimum CMake version (required for CMake 3.0 or later)
cmake_minimum_required(VERSION 2.8.12)
# Use Extra CMake Modules (ECM) for common functionality.
# See http://api.kde.org/ecm/manual/ecm.7.html
# and http://api.kde.org/ecm/manual/ecm-kde-modules.7.html
find_package(ECM REQUIRED NO_MODULE)
# Needed by find_package(KF5Plasma) below.
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_MODULE_PATH})
# Locate plasma_install_package macro.
find_package(KF5Plasma REQUIRED)
# Add installatation target ("make install").
plasma_install_package(package com.github.zren.todolist)
|