aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7585475..88f6001 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.14)
project(kdeltachat LANGUAGES CXX)
+find_package(ECM REQUIRED NO_MODULE)
+set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_MODULE_DIR})
+include(KDEInstallDirs)
+
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOUIC ON)
@@ -41,3 +45,5 @@ target_link_libraries(kdeltachat
PRIVATE KF5::Kirigami2
PRIVATE PkgConfig::DeltaChat
m dl)
+
+install(TARGETS kdeltachat ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})