diff options
author | link2xt <link2xt@testrun.org> | 2021-02-24 04:38:54 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-02-24 04:38:54 +0300 |
commit | d533f86b5b29963a695dbc50f6543a317a2ccd3d (patch) | |
tree | 47f8d25dae9c9dd23d226760bdcfe28f12d6c001 /CMakeLists.txt | |
parent | a320ff2ae7cd38045113218d83fbdfd19c0a64b1 (diff) | |
download | kdeltachat-d533f86b5b29963a695dbc50f6543a317a2ccd3d.tar.gz kdeltachat-d533f86b5b29963a695dbc50f6543a317a2ccd3d.zip |
CMakeLists.txt: install the binary
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
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}) |