The -DHAVE_SYSLOG was missing for compiling main() after the recent
build system changes, so the option wasn't enabled (but caused a
warning).
add_definitions(-DWITH_OXYGEN)
endif()
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})
if(WANT_CORE)
add_executable(quasselcore common/main.cpp ${CORE_DEPS} ${COMMON_DEPS})
qt_use_modules(quasselcore Core Network ${CORE_QT_MODULES})