1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-30 08:24:22 +00:00

cmake: fix systemd unit install path

This commit is contained in:
Eugene Shalygin 2016-03-05 19:23:43 +01:00
parent 45b1a75d56
commit 5996738030

View File

@ -4,7 +4,7 @@ if (SYSTEMD)
set(EXPAND_BINDIR ${CMAKE_INSTALL_FULL_BINDIR}) set(EXPAND_BINDIR ${CMAKE_INSTALL_FULL_BINDIR})
configure_file(systemd/qbittorrent-nox.service.in ${CMAKE_CURRENT_BINARY_DIR}/qbittorrent-nox.service @ONLY) configure_file(systemd/qbittorrent-nox.service.in ${CMAKE_CURRENT_BINARY_DIR}/qbittorrent-nox.service @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qbittorrent-nox.service install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qbittorrent-nox.service
DESTINATION ${CMAKE_INSTALL_PREFIX}/${SYSTEMD_SERVICES_INSTALL_DIR} DESTINATION ${SYSTEMD_SERVICES_INSTALL_DIR}
COMPONENT data) COMPONENT data)
endif(SYSTEMD_FOUND) endif(SYSTEMD_FOUND)
endif(SYSTEMD) endif(SYSTEMD)