fancontrol-ng: install the unit file under /lib
This commit is contained in:
parent
1aeb5b86bb
commit
ff604570fc
|
@ -62,8 +62,9 @@ include (GNUInstallDirs)
|
||||||
|
|
||||||
configure_file (${PROJECT_SOURCE_DIR}/fancontrol-ng.service.in
|
configure_file (${PROJECT_SOURCE_DIR}/fancontrol-ng.service.in
|
||||||
${PROJECT_BINARY_DIR}/fancontrol-ng.service @ONLY)
|
${PROJECT_BINARY_DIR}/fancontrol-ng.service @ONLY)
|
||||||
|
# System-wide unit files should be installed under /lib and not /usr/lib
|
||||||
install (FILES ${PROJECT_BINARY_DIR}/fancontrol-ng.service
|
install (FILES ${PROJECT_BINARY_DIR}/fancontrol-ng.service
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/systemd/system)
|
DESTINATION /lib/systemd/system)
|
||||||
install (FILES fancontrol-ng.conf.example
|
install (FILES fancontrol-ng.conf.example
|
||||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/fancontrol-ng)
|
DESTINATION ${CMAKE_INSTALL_DATADIR}/fancontrol-ng)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue