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

List:       kde-commits
Subject:    KDE/kdepim/akonadi/agents
From:       Christophe Giboudeaux <cgiboudeaux () gmail ! com>
Date:       2009-09-15 11:42:55
Message-ID: 1253014975.391802.23693.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1023842 by cgiboudeaux:

Remove an obsolete check.

 M  +2 -23     CMakeLists.txt  


--- trunk/KDE/kdepim/akonadi/agents/CMakeLists.txt #1023841:1023842
@@ -1,31 +1,10 @@
 add_subdirectory( maildispatcher )
 add_subdirectory( strigifeeder )
 
-if( Nepomuk_FOUND )
-
-  #The following code to compute SOPRANO_PLUGIN_RAPTORPARSER_FOUND is lifted
-  #from KDE4.2's FindSoprano.cmake. We have this code here for backwards
-  #compatibility, and can be removed sometime after KDE 4.3 is released.
-  find_path(_PLUGIN_DIR 
-    NAMES
-    soprano/plugins
-    PATHS
-    ${SHARE_INSTALL_PREFIX} /usr/share /usr/local/share
-    NO_DEFAULT_PATH
-    NO_SYSTEM_ENVIRONMENT_PATH
-    )
-  set(_PLUGIN_DIR "${_PLUGIN_DIR}/soprano/plugins")
-
-  if(EXISTS ${_PLUGIN_DIR}/raptorparser.desktop)
-    set(SOPRANO_PLUGIN_RAPTORPARSER_FOUND TRUE)
-  endif(EXISTS ${_PLUGIN_DIR}/raptorparser.desktop)
-
-  if(SOPRANO_PLUGIN_RAPTORPARSER_FOUND)
+if( Nepomuk_FOUND AND SOPRANO_PLUGIN_RAPTORPARSER_FOUND )
 #    add_subdirectory( nie )
     add_subdirectory( nie_fast )
     add_subdirectory( nepomuk_email_feeder )
     add_subdirectory( nepomuk_contact_feeder )
     add_subdirectory( nepomuk_calendar_feeder )
-  endif(SOPRANO_PLUGIN_RAPTORPARSER_FOUND)
-
-endif( Nepomuk_FOUND )
+endif( Nepomuk_FOUND AND SOPRANO_PLUGIN_RAPTORPARSER_FOUND )
[prev in list] [next in list] [prev in thread] [next in thread] 

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