diff options
Diffstat (limited to 'kopete/ConfigureChecks.cmake')
-rw-r--r-- | kopete/ConfigureChecks.cmake | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/kopete/ConfigureChecks.cmake b/kopete/ConfigureChecks.cmake index d4c97769..6603eed5 100644 --- a/kopete/ConfigureChecks.cmake +++ b/kopete/ConfigureChecks.cmake @@ -20,6 +20,31 @@ if( (BUILD_KOPETE_PROTOCOL_JABBER AND WITH_JINGLE) OR (BUILD_KOPETE_PROTOCOL_MSN endif( ) +# tqca (groupwise, jabber) +if( BUILD_KOPETE_PROTOCOL_GROUPWISE OR BUILD_KOPETE_PROTOCOL_JABBER ) + pkg_search_module( TQCA tqca ) + if( NOT TQCA_FOUND ) + message( STATUS " not found, built-in copy will be used" ) + endif( ) +endif( ) + + +# libxslt (plugins/webpresence) + +if( BUILD_KOPETE_PLUGIN_WEBPRESENCE AND WITH_LIBXSLT ) + pkg_search_module( LIBXML libxml-2.0 ) + if( NOT LIBXML_FOUND ) + tde_message_fatal( "libxml is required, but not found on your system" ) + endif( ) + pkg_search_module( LIBXSLT libxslt ) + if( NOT LIBXSLT_FOUND ) + tde_message_fatal( "libxslt is required, but not found on your system" ) + else( ) + set( HAVE_XSLT 1 CACHE INTERNAL "" ) + endif( ) +endif( ) + + ### Check for videodev header check_include_file( "libv4l1-videodev.h" HAVE_LIBV4L1_VIDEODEV_H ) if( HAVE_LIBV4L1_VIDEODEV_H ) |