update install command

This commit is contained in:
Kevin Yue 2021-09-13 13:32:09 +08:00
parent deddefc72a
commit 2946215033

View File

@ -28,7 +28,7 @@ target_link_libraries(gpservice
Qt5::DBus Qt5::DBus
) )
install(TARGETS gpservice DESTINATION ) 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.conf" DESTINATION "share/dbus-1/system.d" )
install(FILES "dbus/com.yuezk.qt.GPService.service" DESTINATION "share/dbus-1/system-services") install(FILES "dbus/com.yuezk.qt.GPService.service" DESTINATION "share/dbus-1/system-services")
install(FILES "systemd/gpservice.service" DESTINATION "etc/systemd/system") install(FILES "systemd/gpservice.service" DESTINATION "${CMAKE_INSTALL_SYSCONFDIR}/systemd/system")