CMake: Bump minimum required version of ECM

Bump the required version of ECM to provide the ZSH install directory

See also: 232ed339c2
This commit is contained in:
ivan tkachenko 2022-12-06 22:09:59 +00:00 committed by Simon Redman
parent 2ce55df1ba
commit 53174acdf4
2 changed files with 5 additions and 2 deletions

View file

@ -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()

View file

@ -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()