[kdelibs/KDE/4.7] cmake/modules: Add the soprano lib and includes

David Faure faure at kde.org
Sat Aug 6 22:40:50 UTC 2011


Git commit 794ba035f0ef6bac5fdaf734ed104b877f86b9d0 by David Faure, on behalf of Michael Jansen.
Committed on 29/06/2011 at 17:23.
Pushed by dfaure into branch 'KDE/4.7'.

Add the soprano lib and includes

nepomuk does neither compile nor link without soprano. So add them here so a
potential user does not have to remember to add them.  Trueg agreed to this
solution.

CCMAIL: kde-buildsystem at kde.org
CCMAIL: trueg at kde.org

M  +3    -1    cmake/modules/FindNepomuk.cmake

http://commits.kde.org/kdelibs/794ba035f0ef6bac5fdaf734ed104b877f86b9d0

diff --git a/cmake/modules/FindNepomuk.cmake b/cmake/modules/FindNepomuk.cmake
index 2548b66..2398fb8 100644
--- a/cmake/modules/FindNepomuk.cmake
+++ b/cmake/modules/FindNepomuk.cmake
@@ -40,7 +40,7 @@ find_path(NEPOMUK_INCLUDE_DIR
   ${INCLUDE_INSTALL_DIR}
   )
 
-set(NEPOMUK_INCLUDE_DIRS ${NEPOMUK_INCLUDE_DIR}
+set(NEPOMUK_INCLUDE_DIRS ${NEPOMUK_INCLUDE_DIR} ${SOPRANO_INCLUDE_DIR}
   CACHE
   STRING
   "include directories needed for nepomuk")
@@ -53,6 +53,8 @@ find_library(NEPOMUK_LIBRARIES
   ${LIB_INSTALL_DIR}
   )
 
+set(NEPOMUK_LIBRARIES ${NEPOMUK_LIBRARIES} ${SOPRANO_LIBRARIES})
+
 find_library(NEPOMUK_QUERY_LIBRARIES
   NAMES
   nepomukquery



More information about the Kde-buildsystem mailing list