X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=319d637797cf3788c0f34891a8545670ce858ba2;hp=2e5faf0285496cd6f4d37bbfee4a8a2f5b225470;hb=2deb46a3ce819c709800f1ded9072e62807b9574;hpb=d54b44bc5b6e1ff4308f9d143babf29028ae47cd diff --git a/CMakeLists.txt b/CMakeLists.txt index 2e5faf02..319d6377 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,7 @@ # -DWITH_KDE=ON : Enable KDE4 support # -DWITH_CRYPT=OFF : Disable encryption support # -DWITH_OXYGEN=(ON|OFF) : Whether to install Oxygen icons (default: yes, unless KDE > 4.3.0 is present and enabled) +# -DWITH_SYSLOG=OFF : Use syslog for logging # # -DEMBED_DATA=ON : Embed all data files in icons the binary, rather than installing them separately # @@ -46,6 +47,7 @@ option(WITH_PHONON "Enable Phonon support (for audio notifications)" ON) option(WITH_LIBINDICATE "Enable Ayatana notification support" ON) option(WITH_KDE "Enable KDE4 integration" OFF) option(WITH_CRYPT "Enable encryption support if present on system" ON) +option(WITH_SYSLOG "Use syslog for storing log data" OFF) # We use icon paths from KDE 4.3.x, which are partially invalid on older and possibly # even on newer KDE versions. Do not disable this unless you are sure that your Quassel will @@ -58,6 +60,10 @@ if(APPLE) option(DEPLOY "Mac OS X only! Adds required libs to bundle resources and create a dmg. Note: requires Qt to be built with 10.4u SDK" OFF) endif(APPLE) +if(WITH_SYSLOG) + check_include_file(syslog.h HAVE_SYSLOG_H) +endif(WITH_SYSLOG) + # Default to embedding data in the static case if(STATIC OR WIN32) set(EMBED_DEFAULT ON)