Enable installing the init scripts on Solaris

refs #5892
This commit is contained in:
Gunnar Beutner 2017-12-20 08:44:06 +01:00
parent 415621cc56
commit 18d4019368
1 changed files with 1 additions and 1 deletions

View File

@ -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()