[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs
From: Laurent Montel <montel () kde ! org>
Date: 2009-09-02 6:11:02
Message-ID: 1251871862.131966.7431.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1018752 by mlaurent:
Add check for qca needs for plasma
M +10 -0 CMakeLists.txt
--- trunk/KDE/kdelibs/CMakeLists.txt #1018751:1018752
@@ -98,6 +98,9 @@
macro_log_feature(Soprano_FOUND "Soprano" "Semantic Desktop Storing" \
"http://soprano.sourceforge.net" FALSE "${SOPRANO_MIN_VERSION}" "Provide metadata \
support (for semantic desktop).")
+macro_optional_find_package(QCA2)
+macro_log_feature(QCA2_FOUND "QCA2" "Qt Cryptographic Architecture" \
"http://delta.affinix.com/qca" FALSE "2.0.0" "Needed for the plasma") +
################# Disallow in-source build #################
macro_ensure_out_of_source_build("kdelibs requires an out of source build. Please \
create a separate build directory and run 'cmake path_to_kdelibs [options]' there.") \
@@ -119,6 +122,13 @@ # for including config.h and for includes like <kparts/foo.h>
include_directories( ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} \
${CMAKE_SOURCE_DIR}/interfaces)
+if(QCA2_FOUND)
+ include_directories(
+ ${QCA2_INCLUDE_DIR}
+ )
+endif(QCA2_FOUND)
+
+
# Those variables for are only valid inside of kdelibs, of course.
# Use the one variable for the lib you depend upon.
# E.g. kdeui uses ${KDE4_KDECORE_INCLUDES}. Something that depends on kparts uses \
${KDE4_KPARTS_INCLUDES}.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic