From fba0c2d55f67e66e8a527c133397da6f43797347 Mon Sep 17 00:00:00 2001 From: Heiko Becker Date: Thu, 16 Apr 2020 18:25:01 +0200 Subject: [PATCH] Fix previous commit KDE_INSTALL_DATADIR already points to PREFIX/share of course. --- CMakeLists.txt | 2 +- data/CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 81652d3ef..206f5afbe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,7 +81,7 @@ if (KF5_OPTIONAL_COMPONENTS) endif() if (NOT ZSH_AUTOCOMPLETE_DIR) -set(ZSH_AUTOCOMPLETE_DIR "${KDE_INSTALL_DATADIR}/share/zsh/site-functions") +set(ZSH_AUTOCOMPLETE_DIR "${KDE_INSTALL_DATADIR}/zsh/site-functions") endif() option(PRIVATE_DBUS_ENABLED "Use private dbus session for kdeconnect" OFF) diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 3fe70974f..27ba17117 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -1,5 +1,5 @@ -install (FILES "kdeconnect.contract" DESTINATION ${KDE_INSTALL_DATADIR}/share/contractor/) -install (FILES "kdeconnect-thunar.desktop" DESTINATION ${KDE_INSTALL_DATADIR}/share/Thunar/sendto/) +install (FILES "kdeconnect.contract" DESTINATION ${KDE_INSTALL_DATADIR}/contractor/) +install (FILES "kdeconnect-thunar.desktop" DESTINATION ${KDE_INSTALL_DATADIR}/Thunar/sendto/) install(PROGRAMS org.kde.kdeconnect_open.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}) if(NOT SAILFISHOS)