From b3b707aba05487c28f8b2eaf9e07bd0195cd3ee2 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 20 Dec 2017 08:44:06 +0100 Subject: [PATCH] Enable installing the init scripts on Solaris --- etc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/CMakeLists.txt b/etc/CMakeLists.txt index 94d1f2133..f6b005d25 100644 --- a/etc/CMakeLists.txt +++ b/etc/CMakeLists.txt @@ -79,7 +79,7 @@ else() install_if_not_exists(icinga2/features-enabled/mainlog.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-enabled) endif() -if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") +if(${CMAKE_SYSTEM_NAME} MATCHES "(Linux|Solaris|SunOS)") add_subdirectory(initsystem) endif()