From 1664430c9faab564348543e1e16aa2c287b1ae76 Mon Sep 17 00:00:00 2001 From: Jean Flach Date: Fri, 24 Apr 2015 14:47:21 +0200 Subject: [PATCH] Do not create syslog.conf on Windows fixes #9109 --- etc/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/CMakeLists.txt b/etc/CMakeLists.txt index 5a52d8846..14b1c8eb0 100644 --- a/etc/CMakeLists.txt +++ b/etc/CMakeLists.txt @@ -58,7 +58,9 @@ install_if_not_exists(icinga2/features-available/api.conf ${CMAKE_INSTALL_SYSCON install_if_not_exists(icinga2/features-available/debuglog.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available) install_if_not_exists(icinga2/features-available/icingastatus.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available) install_if_not_exists(icinga2/features-available/mainlog.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available) -install_if_not_exists(icinga2/features-available/syslog.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available) +if(NOT WIN32) + install_if_not_exists(icinga2/features-available/syslog.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available) +endif() install_if_not_exists(icinga2/scripts/mail-host-notification.sh ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/scripts) install_if_not_exists(icinga2/scripts/mail-service-notification.sh ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/scripts) install_if_not_exists(icinga2/zones.d/README ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/zones.d)