update install command

This commit is contained in:
Kevin Yue
2021-09-13 12:51:14 +08:00
parent 1fab2a1439
commit deddefc72a
5 changed files with 22 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
project(gpservice)
project(GPService)
set(gpservice_GENERATED_SOURCES)
@@ -27,3 +27,8 @@ target_link_libraries(gpservice
Qt5::Core
Qt5::DBus
)
install(TARGETS gpservice DESTINATION )
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 "etc/systemd/system")