diff --git a/GPService/CMakeLists.txt b/GPService/CMakeLists.txt index f00269e..0faceba 100644 --- a/GPService/CMakeLists.txt +++ b/GPService/CMakeLists.txt @@ -28,7 +28,7 @@ target_link_libraries(gpservice 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.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")