From: Luboš Luňák Date: Mon, 17 Dec 2007 12:33:50 +0000 (+0000) Subject: Soprano is optional. X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/f00ea7fd7390e4bde85ac803474dde41d1de517a Soprano is optional. svn path=/trunk/KDE/kdebase/apps/; revision=749607 --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 028d1ef08..f9902dc66 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -2,7 +2,10 @@ add_subdirectory( pics ) add_subdirectory( tests ) -include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${BLITZ_INCLUDES} ${SOPRANO_INCLUDE_DIR} ) +include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${BLITZ_INCLUDES} ) +if (Soprano_FOUND) + include_directories( ${SOPRANO_INCLUDE_DIR} ) +endif (Soprano_FOUND) ########### next target ###############