From 53174acdf4ada85d7f03fc5736f1ffbd96e48fd9 Mon Sep 17 00:00:00 2001 From: ivan tkachenko Date: Tue, 6 Dec 2022 22:09:59 +0000 Subject: [PATCH] CMake: Bump minimum required version of ECM Bump the required version of ECM to provide the ZSH install directory See also: 232ed339c21d88a1359567410990a0d2a77ba371 --- CMakeLists.txt | 2 +- cli/CMakeLists.txt | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0620cf520..0b9844d6d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ if (SAILFISHOS) set(KF5_MIN_VERSION "5.36.0") set(QT_MIN_VERSION "5.6.0") else() - set(KF5_MIN_VERSION "5.96.0") + set(KF5_MIN_VERSION "5.101.0") set(QT_MIN_VERSION "5.15.2") set(KDE_COMPILERSETTINGS_LEVEL "5.84.0") endif() diff --git a/cli/CMakeLists.txt b/cli/CMakeLists.txt index f5783bce0..22da853a7 100644 --- a/cli/CMakeLists.txt +++ b/cli/CMakeLists.txt @@ -12,4 +12,7 @@ target_link_libraries(kdeconnect-cli ) install(TARGETS kdeconnect-cli ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) -install(FILES kdeconnect.zsh RENAME _kdeconnect DESTINATION ${KDE_INSTALL_ZSHAUTOCOMPLETEDIR}) + +if (NOT SAILFISHOS) + install(FILES kdeconnect.zsh RENAME _kdeconnect DESTINATION ${KDE_INSTALL_ZSHAUTOCOMPLETEDIR}) +endif()