fix building without log4c

This commit is contained in:
Dominik Schmidt 2012-04-14 00:16:28 +02:00 committed by Klaas Freitag
parent 68526da12f
commit 68b6fbeefe

View file

@ -40,6 +40,9 @@ include(MacroAddPlugin)
include(MacroCopyFile)
find_package(Log4C)
if(NOT LOG4C_FOUND)
set(WITH_LOG4C FALSE)
endif()
include(ConfigureChecks.cmake)
configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)