Merge pull request #5892 from Icinga/feature/solaris-init

Enable installing the init scripts on Solaris
This commit is contained in:
Michael Friedrich 2017-12-20 14:10:39 +01:00 committed by GitHub
commit 378837941e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()