Don't set an absolute D-Bus service path on Windows and macOS
(cherry picked from commit f00e04c07d
)
This commit is contained in:
parent
7274c62c7c
commit
a7045bfe0d
2 changed files with 4 additions and 1 deletions
|
@ -20,6 +20,9 @@ ecm_mark_nongui_executable(kdeconnectd)
|
|||
|
||||
configure_file(org.kde.kdeconnect.daemon.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.daemon.desktop)
|
||||
|
||||
if (UNIX AND NOT APPLE)
|
||||
set(kdeconnectd_prefix "${KDE_INSTALL_FULL_BINDIR}/")
|
||||
endif()
|
||||
configure_file(org.kde.kdeconnect.service.in ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.service)
|
||||
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.daemon.desktop DESTINATION ${KDE_INSTALL_AUTOSTARTDIR})
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
[D-BUS Service]
|
||||
Name=org.kde.kdeconnect
|
||||
Exec==@KDE_INSTALL_FULL_BINDIR@/kdeconnectd
|
||||
Exec=@kdeconnectd_prefix@kdeconnectd
|
||||
|
|
Loading…
Reference in a new issue