[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [libqapt] /: Only use macro_log* macros when KDE stuff has been included. It will error if not
From:       Jonathan Thomas <echidnaman () kubuntu ! org>
Date:       2012-02-20 22:00:59
Message-ID: 20120220220059.72D72A60A6 () git ! kde ! org
[Download RAW message or body]

Git commit 6c8dce7570c21ef0fbb94066b4287b5f21c760d1 by Jonathan Thomas.
Committed on 20/02/2012 at 22:59.
Pushed by jmthomas into branch 'master'.

Only use macro_log* macros when KDE stuff has been included. It will error =
if not
present and is only needed when compiling utils with a KDE UI.

Thanks to Jerome Leclanche for the patch.

CCMAIL:adys.wh@gmail.com

M  +1    -1    CMakeLists.txt

http://commits.kde.org/libqapt/6c8dce7570c21ef0fbb94066b4287b5f21c760d1

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ef96358..ad54b1b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -185,12 +185,12 @@ if (KDE4_FOUND)
     #comments with appropriate doc and translation directories.
     #PO_SUBDIR
     #DOC_SUBDIR
-endif (KDE4_FOUND)
 =

 macro_log_feature(QTGSTREAMER_FOUND "QtGStreamer" "Qt wrapper around the G=
Streamer multimedia framework"
                   "http://gstreamer.freedesktop.org" FALSE "" "Used to bui=
ld an optional GStreamer plugin installer")
 =

 macro_display_feature_log()
+endif (KDE4_FOUND)
 =

 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libqapt.pc
         DESTINATION ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/pkgconfig
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic