From: Gunnar Beutner Date: Fri, 19 Dec 2014 15:42:20 +0000 (+0100) Subject: Make sure the livestatus module works when the compat module is disabled X-Git-Tag: v2.3.0~436 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f280452b6d1e781dcb71a64199536313a879c883;p=icinga2 Make sure the livestatus module works when the compat module is disabled refs #7794 --- diff --git a/lib/livestatus/CMakeLists.txt b/lib/livestatus/CMakeLists.txt index ac9b9e639..87cf09318 100644 --- a/lib/livestatus/CMakeLists.txt +++ b/lib/livestatus/CMakeLists.txt @@ -52,5 +52,7 @@ install_if_not_exists( ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available ) +install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_RUNDIR}/icinga2/cmd\")") + install(TARGETS livestatus RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/icinga2)