From 29462150330319072eeaadc39693796f8d4a6fc7 Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Mon, 13 Sep 2021 13:32:09 +0800 Subject: [PATCH] update install command --- GPService/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")