From 5996738030161474f93ef8c0317606cb5c6683b2 Mon Sep 17 00:00:00 2001 From: Eugene Shalygin Date: Sat, 5 Mar 2016 19:23:43 +0100 Subject: [PATCH] cmake: fix systemd unit install path --- dist/unix/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/unix/CMakeLists.txt b/dist/unix/CMakeLists.txt index e8682a673..f935ef090 100644 --- a/dist/unix/CMakeLists.txt +++ b/dist/unix/CMakeLists.txt @@ -4,7 +4,7 @@ if (SYSTEMD) set(EXPAND_BINDIR ${CMAKE_INSTALL_FULL_BINDIR}) configure_file(systemd/qbittorrent-nox.service.in ${CMAKE_CURRENT_BINARY_DIR}/qbittorrent-nox.service @ONLY) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qbittorrent-nox.service - DESTINATION ${CMAKE_INSTALL_PREFIX}/${SYSTEMD_SERVICES_INSTALL_DIR} + DESTINATION ${SYSTEMD_SERVICES_INSTALL_DIR} COMPONENT data) endif(SYSTEMD_FOUND) endif(SYSTEMD)