Disable IcingaDB on Windows

Rationale: Masters running with IcingaDB are supported, agents are not.
This commit is contained in:
Michael Friedrich 2019-11-02 12:02:46 +01:00
parent f9b3e88bbb
commit e89fea12d5
1 changed files with 7 additions and 1 deletions

View File

@ -20,9 +20,15 @@ option(ICINGA2_WITH_COMPAT "Build the compat module" ON)
option(ICINGA2_WITH_LIVESTATUS "Build the Livestatus module" ON)
option(ICINGA2_WITH_NOTIFICATION "Build the notification module" ON)
option(ICINGA2_WITH_PERFDATA "Build the perfdata module" ON)
option(ICINGA2_WITH_ICINGADB "Build the IcingaDB module" ON)
option(ICINGA2_WITH_TESTS "Run unit tests" ON)
# IcingaDB only is supported on modern Linux/Unix master systems
if(NOT WIN32)
option(ICINGA2_WITH_ICINGADB "Build the IcingaDB module" ON)
else()
option(ICINGA2_WITH_ICINGADB "Build the IcingaDB module" OFF)
endif()
option (USE_SYSTEMD
"Configure icinga as native systemd service instead of a SysV initscript" OFF)