[kdelibs] cmake/modules: Add the soprano lib and includes
Michael Jansen
kde at michael-jansen.biz
Wed Jun 29 23:25:47 CEST 2011
Git commit 6c88df7dfe921079a78a18ba33e6e01ecdb37f5c by Michael Jansen.
Committed on 29/06/2011 at 17:23.
Pushed by mjansen into branch 'master'.
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/6c88df7dfe921079a78a18ba33e6e01ecdb37f5c
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