summaryrefslogtreecommitdiffstats
path: root/umbrello/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/ConfigureChecks.cmake')
-rw-r--r--umbrello/ConfigureChecks.cmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/umbrello/ConfigureChecks.cmake b/umbrello/ConfigureChecks.cmake
new file mode 100644
index 00000000..2167ab98
--- /dev/null
+++ b/umbrello/ConfigureChecks.cmake
@@ -0,0 +1,20 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+pkg_search_module( XML2 libxml-2.0 )
+if( NOT XML2_FOUND )
+ tde_message_fatal( "libxml-2.0 is required, but was not found on your system" )
+endif( )
+
+pkg_search_module( XSLT libxslt )
+if( NOT XSLT_FOUND )
+ tde_message_fatal( "libxslt is required, but was not found on your system" )
+endif( )