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

List:       kde-commits
Subject:    [rekonq] /: Allows to build without Soprano and Nepomuk
From:       Andrea Diamantini <adjam7 () gmail ! com>
Date:       2014-03-08 16:43:51
Message-ID: E1WMKLn-0007pa-67 () scm ! kde ! org
[Download RAW message or body]

Git commit 7ea4deec484c2284d61f77e6c52086b4920ac456 by Andrea Diamantini, on behalf of Andrea Scarpino.
Committed on 08/03/2014 at 16:27.
Pushed by adjam into branch 'master'.

Allows to build without Soprano and Nepomuk

CCMAIL: me@andreascarpino.it
REVIEW: 116659
REVIEWED-BY: adjam

M  +4    -2    CMakeLists.txt

http://commits.kde.org/rekonq/7ea4deec484c2284d61f77e6c52086b4920ac456

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 415156e..4695791 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,9 +48,11 @@ ADD_DEFINITIONS(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
 # ==================================================================================
 # optional nepomuk requirements
 
-FIND_PACKAGE(Soprano)
+if(WITH_NEPOMUK)
+  FIND_PACKAGE(Soprano)
 
-FIND_PACKAGE(NepomukCore 0.1.0)
+  FIND_PACKAGE(NepomukCore 0.1.0)
+endif()
 
 IF(SOPRANO_FOUND AND NepomukCore_FOUND)
     ADD_DEFINITIONS(-DHAVE_NEPOMUK)
[prev in list] [next in list] [prev in thread] [next in thread] 

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