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 | |
parent | a320ff2ae7cd38045113218d83fbdfd19c0a64b1 (diff) | |
download | kdeltachat-d533f86b5b29963a695dbc50f6543a317a2ccd3d.tar.gz kdeltachat-d533f86b5b29963a695dbc50f6543a317a2ccd3d.zip |
CMakeLists.txt: install the binary
-rw-r--r-- | CMakeLists.txt | 6 | ||||
-rw-r--r-- | README.md | 3 |
2 files changed, 9 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}) @@ -79,6 +79,9 @@ Runtime dependencies: Install FileDialog: - `pacman -S qt5-quickcontrols` +Install `extra-cmake-modules`(https://api.kde.org/ecm/manual/ecm-kde-modules.7.html): +- `pacman -S extra-cmake-modules` + ### OpenSUSE OpenSUSE Leap 15.2: |