From f280452b6d1e781dcb71a64199536313a879c883 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 19 Dec 2014 16:42:20 +0100 Subject: [PATCH] Make sure the livestatus module works when the compat module is disabled refs #7794 --- lib/livestatus/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.40.0