diff options
author | Andrea Scarpino <me@andreascarpino.it> | 2014-03-08 17:27:10 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2014-03-08 17:42:14 +0100 |
commit | 7ea4deec484c2284d61f77e6c52086b4920ac456 (patch) | |
tree | 785ac5d1612424a413340ad3341d8312b7bf75eb | |
parent | SVN_SILENT made messages (.desktop file) (diff) | |
download | rekonq-7ea4deec484c2284d61f77e6c52086b4920ac456.tar.xz |
Allows to build without Soprano and Nepomuk
CCMAIL: me@andreascarpino.it
REVIEW: 116659
REVIEWED-BY: adjam
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 415156e4..4695791b 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) |