summaryrefslogtreecommitdiffstats
path: root/kbabel/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/ConfigureChecks.cmake')
-rw-r--r--kbabel/ConfigureChecks.cmake15
1 files changed, 15 insertions, 0 deletions
diff --git a/kbabel/ConfigureChecks.cmake b/kbabel/ConfigureChecks.cmake
new file mode 100644
index 00000000..e985b2dc
--- /dev/null
+++ b/kbabel/ConfigureChecks.cmake
@@ -0,0 +1,15 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+find_program( LEX_EXECUTABLE "lex" )
+if( NOT LEX_EXECUTABLE )
+ tde_message_fatal( "lex is required, but was not found on your system" )
+endif( )