summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2013-03-16 11:59:03 +0100
committerPino Toscano <pino@kde.org>2013-03-16 11:59:03 +0100
commite53f125681585672399efeb6232dfe9aed7d6d16 (patch)
tree8f51be2c8d09998c07a7b18bafac19ba65bad1b6 /src
parentcmake: use the kactivities include dirs, if found (diff)
downloadrekonq-e53f125681585672399efeb6232dfe9aed7d6d16.tar.xz
cmake: soprano is needed aside nepomuk-core
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index eb5a87df..3e84d13d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -193,14 +193,14 @@ INCLUDE_DIRECTORIES ( ${CMAKE_CURRENT_SOURCE_DIR}
)
# Nepomuk optional include directories
-IF(NepomukCore_FOUND)
+IF(SOPRANO_FOUND AND NepomukCore_FOUND)
INCLUDE_DIRECTORIES(${SOPRANO_INCLUDE_DIR}
${NEPOMUK_CORE_INCLUDE_DIR}
)
FIND_PACKAGE(Soprano REQUIRED)
INCLUDE(SopranoAddOntology)
-ENDIF(NepomukCore_FOUND)
+ENDIF(SOPRANO_FOUND AND NepomukCore_FOUND)
# Opera sync optional include directories
IF(HAVE_QCA2 AND HAVE_QTOAUTH)
@@ -251,12 +251,12 @@ TARGET_LINK_LIBRARIES ( kdeinit_rekonq
)
# Nepomuk optional target link libraries
-IF(NepomukCore_FOUND)
+IF(SOPRANO_FOUND AND NepomukCore_FOUND)
TARGET_LINK_LIBRARIES( kdeinit_rekonq
${NEPOMUK_CORE_LIBRARY}
${SOPRANO_LIBRARIES}
)
-ENDIF(NepomukCore_FOUND)
+ENDIF(SOPRANO_FOUND AND NepomukCore_FOUND)
# KActivities optional target link libraries
IF(HAVE_KACTIVITIES)