Use KDE_INSTALL_DATADIR

This commit is contained in:
Heiko Becker 2020-04-16 10:11:21 +02:00
parent da0089c741
commit f1da4b4850
2 changed files with 3 additions and 3 deletions

View file

@ -81,7 +81,7 @@ if (KF5_OPTIONAL_COMPONENTS)
endif()
if (NOT ZSH_AUTOCOMPLETE_DIR)
set(ZSH_AUTOCOMPLETE_DIR "${CMAKE_INSTALL_PREFIX}/share/zsh/site-functions")
set(ZSH_AUTOCOMPLETE_DIR "${KDE_INSTALL_DATADIR}/share/zsh/site-functions")
endif()
option(PRIVATE_DBUS_ENABLED "Use private dbus session for kdeconnect" OFF)

View file

@ -1,5 +1,5 @@
install (FILES "kdeconnect.contract" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/contractor/)
install (FILES "kdeconnect-thunar.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/Thunar/sendto/)
install (FILES "kdeconnect.contract" DESTINATION ${KDE_INSTALL_DATADIR}/share/contractor/)
install (FILES "kdeconnect-thunar.desktop" DESTINATION ${KDE_INSTALL_DATADIR}/share/Thunar/sendto/)
install(PROGRAMS org.kde.kdeconnect_open.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
if(NOT SAILFISHOS)