Browse Source

Fix install for slim.service #3418

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Nobuhiro Iwamatsu 9 years ago
parent
commit
3de8891b9d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -171,6 +171,6 @@ install(FILES slim.1 DESTINATION ${MANDIR}/man1/)
 # configure
 install(FILES slim.conf DESTINATION ${SYSCONFDIR})
 # systemd service file
-install(FILES slim.service DESTINATION /usr/lib/systemd/system)
+install(FILES slim.service DESTINATION ${CMAKE_INSTALL_PREFIX}/systemd/system)
 # themes directory
 subdirs(themes)