summaryrefslogtreecommitdiffstats
path: root/kbabel/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/ConfigureChecks.cmake')
-rw-r--r--kbabel/ConfigureChecks.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbabel/ConfigureChecks.cmake b/kbabel/ConfigureChecks.cmake
index e985b2dc..8957a96f 100644
--- a/kbabel/ConfigureChecks.cmake
+++ b/kbabel/ConfigureChecks.cmake
@@ -9,7 +9,7 @@
#
#################################################
-find_program( LEX_EXECUTABLE "lex" )
+find_program( LEX_EXECUTABLE NAMES "flex" "lex" )
if( NOT LEX_EXECUTABLE )
tde_message_fatal( "lex is required, but was not found on your system" )
endif( )