mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-01 02:44:28 +02:00
Use CMAKE_INSTALL_FULL_SYSCONFDIR for ICINGA2_SYSCONFIGFILE variable
fixes #6657
This commit is contained in:
parent
f9075a0d0e
commit
d56da32a16
@ -17,7 +17,7 @@
|
||||
|
||||
if(NOT WIN32)
|
||||
if(NOT DEFINED ICINGA2_SYSCONFIGFILE)
|
||||
set(ICINGA2_SYSCONFIGFILE "${CMAKE_INSTALL_SYSCONFDIR}/sysconfig/icinga2" CACHE PATH "where to store configuation for the init system, defaults to /etc/sysconfig/icinga2")
|
||||
set(ICINGA2_SYSCONFIGFILE "${CMAKE_INSTALL_FULL_SYSCONFDIR}/sysconfig/icinga2" CACHE PATH "where to store configuation for the init system, defaults to /etc/sysconfig/icinga2")
|
||||
endif()
|
||||
|
||||
configure_file(icinga2.sysconfig.cmake ${CMAKE_CURRENT_BINARY_DIR}/initsystem/icinga2.sysconfig @ONLY)
|
||||
|
Loading…
x
Reference in New Issue
Block a user