diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt index 172ef7eab..ef41a9307 100644 --- a/daemon/CMakeLists.txt +++ b/daemon/CMakeLists.txt @@ -24,5 +24,5 @@ configure_file(org.kde.kdeconnect.service.in ${CMAKE_CURRENT_BINARY_DIR}/org.kde install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.daemon.desktop DESTINATION ${KDE_INSTALL_AUTOSTARTDIR}) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.daemon.desktop DESTINATION ${KDE_INSTALL_APPDIR}) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.service DESTINATION ${KDE_INSTALL_DBUSSERVICEDIR}) -install(TARGETS kdeconnectd DESTINATION) +install(TARGETS kdeconnectd ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) diff --git a/daemon/org.kde.kdeconnect.daemon.desktop.cmake b/daemon/org.kde.kdeconnect.daemon.desktop.cmake index 5b7123f54..75aa011c5 100644 --- a/daemon/org.kde.kdeconnect.daemon.desktop.cmake +++ b/daemon/org.kde.kdeconnect.daemon.desktop.cmake @@ -1,6 +1,6 @@ [Desktop Entry] Type=Application -Exec=kdeconnectd +Exec=@KDE_INSTALL_FULL_BINDIR@/kdeconnectd StartupNotify=false X-KDE-autostart-phase=1 X-GNOME-Autostart-enabled=true