Enable installing the init scripts on Solaris

This commit is contained in:
Gunnar Beutner 2017-12-20 08:44:06 +01:00
parent ba70b3361e
commit b3b707aba0
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()