-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
32 lines (25 loc) · 1013 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
set(KDE_INSTALL_USE_QT_SYS_PATHS ON CACHE BOOL "Install the plugin in the right directory")
message(STATUS "Largando cmake con KDE_INSTALL_USE_QT_SYS_PATHS en modo: ${KDE_INSTALL_USE_QT_SYS_PATHS}")
set(QT_MIN_VERSION "5.3.0")
set(KF5_MIN_VERSION "5.0.0")
find_package(ECM REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_MODULE_DIR} ${ECM_KDE_MODULE_DIR})
include(KDEInstallDirs)
include(KDECompilerSettings)
include(KDECMakeSettings)
#Para evitar Unknown CMake command "ecm_qt_declare_logging_category"
include(ECMQtDeclareLoggingCategory)
find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED NO_MODULE COMPONENTS
Core
Quick
Svg
)
find_package(KF5 REQUIRED COMPONENTS
CalendarCore
Plasma
Package
)
add_subdirectory( plugin )
#plasma_install_package(org.kde.tomatodoing org.kde.tomatodoing plasmoids)
kpackage_install_bundled_package(org.kde.tomatodoing org.kde.tomatodoing plasmoids)