summaryrefslogtreecommitdiffstats
path: root/kopete/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-02-09 19:16:54 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-02-09 19:17:06 +0100
commita69dc917011fc3ad33478249d20ec0f496ea2127 (patch)
tree0e9a1822a914807251544f509fd5e412d83de7bd /kopete/ConfigureChecks.cmake
parent232139421655ede16468036488c637b983639d0d (diff)
downloadtdenetwork-a69dc917011fc3ad33478249d20ec0f496ea2127.tar.gz
tdenetwork-a69dc917011fc3ad33478249d20ec0f496ea2127.zip
Add missing option and detection for libxslt.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit a0c4be8ea852195a7b5337003b0c6e4354126b64)
Diffstat (limited to 'kopete/ConfigureChecks.cmake')
-rw-r--r--kopete/ConfigureChecks.cmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/kopete/ConfigureChecks.cmake b/kopete/ConfigureChecks.cmake
index 4001bb5a..6603eed5 100644
--- a/kopete/ConfigureChecks.cmake
+++ b/kopete/ConfigureChecks.cmake
@@ -29,6 +29,22 @@ if( BUILD_KOPETE_PROTOCOL_GROUPWISE OR BUILD_KOPETE_PROTOCOL_JABBER )
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 )