kdeconnect-kde/CMakeLists.txt

38 lines
1,014 B
CMake
Raw Normal View History

project(kdeconnect)
cmake_minimum_required(VERSION 2.8.12)
2013-06-06 04:57:06 +01:00
find_package(ECM 0.0.9 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_SOURCE_DIR}/cmake)
2014-08-04 02:36:00 +01:00
find_package(Qt5 5.2 REQUIRED COMPONENTS Quick Test)
find_package(KF5 REQUIRED COMPONENTS I18n KIO Notifications ConfigWidgets DBusAddons KCMUtils IconThemes)
find_package(Qca-qt5 2.1.0 REQUIRED)
2013-06-06 04:57:06 +01:00
include(KDEInstallDirs)
include(KDECompilerSettings)
include(KDECMakeSettings)
include(ECMAddTests)
include(ECMSetupVersion)
include(ECMInstallIcons)
include(FeatureSummary)
include(GenerateExportHeader)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
2013-06-06 04:57:06 +01:00
add_subdirectory(core)
2013-06-19 12:29:24 +01:00
add_subdirectory(kcm)
add_subdirectory(kio)
2014-02-19 20:10:41 +00:00
add_subdirectory(icon)
add_subdirectory(interfaces)
add_subdirectory(kded)
add_subdirectory(plugins)
add_subdirectory(plasmoid)
add_subdirectory(cli)
add_subdirectory(fileitemactionplugin)
add_subdirectory(tests)
install(PROGRAMS kdeconnect-non-plasma.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})