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

List:       kde-commits
Subject:    [Akonadi] 3f055f8: Only link against Soprano if it's actually there.
From:       Volker Krause <vkrause () kde ! org>
Date:       2010-11-16 8:49:52
Message-ID: 20101116084952.6E3CBA60A6 () git ! kde ! org
[Download RAW message or body]

commit 3f055f85d73eb94588086aceafef30d352dcfefa
branch master
Author: Volker Krause <vkrause@kde.org>
Date:   Tue Nov 16 09:49:51 2010 +0100

    Only link against Soprano if it's actually there.

diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt
index 9b787e0..1ca6387 100644
--- a/server/CMakeLists.txt
+++ b/server/CMakeLists.txt
@@ -179,8 +179,10 @@ target_link_libraries( akonadiprivate
   ${QT_QTXML_LIBRARY}
   ${AKONADI_PROTOCOLINTERNALS_LIBS}
   ${AKONADI_SYSTEM_LIBS}
-  ${SOPRANO_LIBRARIES}
 )
+if(Soprano_FOUND)
+  target_link_libraries(akonadiprivate ${SOPRANO_LIBRARIES})
+endif()
 if(NOT WINCE)
     target_link_libraries( akonadiprivate ${Boost_PROGRAM_OPTIONS_LIBRARY})
 endif(NOT WINCE)
[prev in list] [next in list] [prev in thread] [next in thread] 

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