update install command

This commit is contained in:
Kevin Yue committed 2021-09-13 13:50:46 +08:00
1 parent 2946215033
commit 405e84e40c
2 files changed
+7 -7

No files matched your search

+4 -4
View File
@@ -28,7 +28,7 @@ target_link_libraries(gpservice
Qt5::DBus
)
install(TARGETS gpservice DESTINATION bin)
install(FILES "dbus/com.yuezk.qt.GPService.conf" DESTINATION "share/dbus-1/system.d" )
install(FILES "dbus/com.yuezk.qt.GPService.service" DESTINATION "share/dbus-1/system-services")
install(FILES "systemd/gpservice.service" DESTINATION "${CMAKE_INSTALL_SYSCONFDIR}/systemd/system")
install(TARGETS gpservice DESTINATION "/usr/bin")
install(FILES "dbus/com.yuezk.qt.GPService.conf" DESTINATION "/usr/share/dbus-1/system.d" )
install(FILES "dbus/com.yuezk.qt.GPService.service" DESTINATION "/usr/share/dbus-1/system-services")
install(FILES "systemd/gpservice.service" DESTINATION "/etc/systemd/system")