From 72d66e4f1772663f3107bee403478f459b1e6468 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 1 Aug 2014 12:26:45 +0200 Subject: [PATCH] Remove if(NOT DEFINED ICINGA2_SYSCONFIGFILE) in etc/initsystem/CMakeLists.txt fixes #6832 --- etc/initsystem/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/etc/initsystem/CMakeLists.txt b/etc/initsystem/CMakeLists.txt index 83baca33c..630c9f474 100644 --- a/etc/initsystem/CMakeLists.txt +++ b/etc/initsystem/CMakeLists.txt @@ -16,9 +16,7 @@ # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. if(NOT WIN32) - if(NOT DEFINED ICINGA2_SYSCONFIGFILE) 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) get_filename_component(ICINGA2_SYSCONFIGFILE_NAME ${ICINGA2_SYSCONFIGFILE} NAME)