From b6cb2c68d2a39f2a2d08cacf4fe7373e27a649e9 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Mon, 31 Mar 2014 22:12:28 +0200 Subject: [PATCH] Make --syslog option work again The -DHAVE_SYSLOG was missing for compiling main() after the recent build system changes, so the option wasn't enabled (but caused a warning). --- src/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3575f527..a644934f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -30,6 +30,11 @@ if (WITH_OXYGEN) add_definitions(-DWITH_OXYGEN) endif() +# Needed for showing the cli option if appropriate +if (HAVE_SYSLOG) + add_definitions(-DHAVE_SYSLOG) +endif() + if(WANT_CORE) add_executable(quasselcore common/main.cpp ${CORE_DEPS} ${COMMON_DEPS}) qt_use_modules(quasselcore Core Network ${CORE_QT_MODULES}) -- 2.20.1