From 8ef724f0b5c6bfb10165055fcc9a9d7753385752 Mon Sep 17 00:00:00 2001 From: Pier Luigi Fiorini Date: Sun, 9 Mar 2014 07:08:08 +0100 Subject: [PATCH] Install hawaii-notifications-daemon to bindir --- data/systemd/hawaii-notifications-daemon.service.in | 2 +- src/daemons/notifications/CMakeLists.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data/systemd/hawaii-notifications-daemon.service.in b/data/systemd/hawaii-notifications-daemon.service.in index 7fe387ac..ab083c59 100644 --- a/data/systemd/hawaii-notifications-daemon.service.in +++ b/data/systemd/hawaii-notifications-daemon.service.in @@ -6,7 +6,7 @@ After=hawaii.service [Service] Type=notify NotifyAccess=main -ExecStart=@CMAKE_INSTALL_FULL_LIBEXECDIR@/hawaii-notifications-daemon +ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/hawaii-notifications-daemon [Install] WantedBy=hawaii.target diff --git a/src/daemons/notifications/CMakeLists.txt b/src/daemons/notifications/CMakeLists.txt index 33ba2c8b..89fe7a12 100644 --- a/src/daemons/notifications/CMakeLists.txt +++ b/src/daemons/notifications/CMakeLists.txt @@ -45,4 +45,5 @@ qt5_use_modules(hawaii-notifications-daemon DBus Quick) set_target_properties(hawaii-notifications-daemon PROPERTIES LINK_FLAGS ${LINK_FLAGS}) target_link_libraries(hawaii-notifications-daemon ${LIBRARIES}) -install(TARGETS hawaii-notifications-daemon DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}) +install(TARGETS hawaii-notifications-daemon + DESTINATION ${CMAKE_INSTALL_BINDIR})