]> granicus.if.org Git - icinga2/commitdiff
Make sure the livestatus module works when the compat module is disabled
authorGunnar Beutner <gunnar@beutner.name>
Fri, 19 Dec 2014 15:42:20 +0000 (16:42 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Fri, 19 Dec 2014 15:42:20 +0000 (16:42 +0100)
refs #7794

lib/livestatus/CMakeLists.txt

index ac9b9e6399ee1e7d34d2d179a65aa74929670465..87cf0931842f41db208c97d0dd924c207e0e016e 100644 (file)
@@ -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)