aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 4fbb925..2e42eda 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -64,7 +64,9 @@ install (FILES "${UPSTART_XDG_AUTOSTART_FILE}"
##
# where to install
-pkg_get_variable(SYSTEMD_USER_DIR systemd systemduserunitdir)
+# Uncomment when we drop Vivid
+# pkg_get_variable(SYSTEMD_USER_DIR systemd systemduserunitdir)
+set (SYSTEMD_USER_DIR "/usr/lib/systemd/user")
message (STATUS "${SYSTEMD_USER_DIR} is the systemd user unit file install dir")
set (SYSTEMD_USER_NAME "${CMAKE_PROJECT_NAME}.service")