Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KDE Connect
Commits
b7ad218c
Commit
b7ad218c
authored
Nov 10, 2020
by
Piyush Aggarwal
🎮
Browse files
kdeconnect_daemon: conditionally configure the daemon service to better support the windows port
BUG 412665
parent
56e70904
Pipeline
#40370
passed with stage
in 5 minutes and 42 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
daemon/CMakeLists.txt
View file @
b7ad218c
...
...
@@ -19,6 +19,13 @@ target_link_libraries(kdeconnectd
ecm_mark_nongui_executable
(
kdeconnectd
)
configure_file
(
org.kde.kdeconnect.daemon.desktop.cmake
${
CMAKE_CURRENT_BINARY_DIR
}
/org.kde.kdeconnect.daemon.desktop
)
# Conditionally configure the daemon service according to the target OS
if
(
WIN32
)
set
(
SERV_EXEC kdeconnectd
)
else
()
set
(
SERV_EXEC
${
KDE_INSTALL_FULL_LIBEXECDIR
}
/kdeconnectd
)
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
${
AUTOSTART_INSTALL_DIR
}
)
...
...
daemon/org.kde.kdeconnect.service.in
View file @
b7ad218c
[D-BUS Service]
Name=org.kde.kdeconnect
Exec=@
KDE_INSTALL_FULL_LIBEXECDIR@/kdeconnectd
Exec=@
SERV_EXEC@
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment