Find for 'flex' or 'lex' to build kbabel

pull/1/head
Slávek Banko 12 years ago
parent 252626faaa
commit c20f47dbc3

@ -9,7 +9,7 @@
# #
################################################# #################################################
find_program( LEX_EXECUTABLE "lex" ) find_program( LEX_EXECUTABLE NAMES "flex" "lex" )
if( NOT LEX_EXECUTABLE ) if( NOT LEX_EXECUTABLE )
tde_message_fatal( "lex is required, but was not found on your system" ) tde_message_fatal( "lex is required, but was not found on your system" )
endif( ) endif( )

Loading…
Cancel
Save