projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7629283
)
Make --syslog option work again
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Mon, 31 Mar 2014 20:12:28 +0000
(22:12 +0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Mon, 31 Mar 2014 20:12:28 +0000
(22:12 +0200)
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
patch
|
blob
|
history
diff --git
a/src/CMakeLists.txt
b/src/CMakeLists.txt
index
3575f52
..
a644934
100644
(file)
--- 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})