┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorivan tkachenko <[email protected]>2022-11-14 23:44:49 +0300
committerivan tkachenko <[email protected]>2022-12-12 21:19:42 +0300
commitd55099ad47b8c0053042b5e1d04d1055483ae7e8 (patch)
treef791ee61d6838cebdcb6bf7e9666414ab81b4093 /CMakeLists.txt
parenta19f29f4e5f4f942713502f56f5266937722be96 (diff)
Add zsh completions
Completes all non-generic-Qt options listed in --help output. Note: it uses the new variable KDE_INSTALL_ZSHAUTOCOMPLETEDIR, which was added in ECM 5.101. Read more: https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/310
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2112958f4..1df8c19a0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@ set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE
project(Dolphin VERSION ${RELEASE_SERVICE_VERSION})
set(QT_MIN_VERSION "5.15.2")
-set(KF5_MIN_VERSION "5.92.0")
+set(KF5_MIN_VERSION "5.101.0")
# ECM setup
find_package(ECM ${KF5_MIN_VERSION} CONFIG REQUIRED)
@@ -206,5 +206,7 @@ if(KF5DocTools_FOUND)
kdoctools_install(po)
endif()
+install(FILES completions/dolphin.zsh RENAME _dolphin DESTINATION ${KDE_INSTALL_ZSHAUTOCOMPLETEDIR})
+
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)