From: Manuel Nickschas Date: Mon, 31 Mar 2014 20:12:28 +0000 (+0200) Subject: Make --syslog option work again X-Git-Tag: 0.11.0~41 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=b6cb2c68d2a39f2a2d08cacf4fe7373e27a649e9 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). --- 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})