Don't install orphan supplementary files
This commit is contained in:
parent
7e30dfb6f0
commit
87e5285622
|
@ -71,6 +71,7 @@ include (GNUInstallDirs)
|
|||
set (SYSTEMD_UNITDIR /lib/systemd/system
|
||||
CACHE PATH "Base directory for systemd unit files")
|
||||
|
||||
if ("${CMAKE_SYSTEM_NAME}" STREQUAL Linux)
|
||||
configure_file (${PROJECT_SOURCE_DIR}/fancontrol-ng.service.in
|
||||
${PROJECT_BINARY_DIR}/fancontrol-ng.service @ONLY)
|
||||
install (FILES fancontrol-ng.conf.example
|
||||
|
@ -86,6 +87,7 @@ install (FILES
|
|||
${PROJECT_BINARY_DIR}/fancontrol-ng.service
|
||||
${PROJECT_BINARY_DIR}/priod.service
|
||||
DESTINATION "${SYSTEMD_UNITDIR}")
|
||||
endif ()
|
||||
|
||||
if (WITH_GDM)
|
||||
install (TARGETS gdm-switch-user DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
|
|
Loading…
Reference in New Issue