FIX: Try harder to find the fl library and FlexLexer.h in FindFLEX.cmake
commit9093377db4a51e12df64c4e0cf12df2b5803ad88
authorMichael Wild <themiwi@users.sourceforge.net>
Mon, 6 Jul 2009 16:03:09 +0000 (6 18:03 +0200)
committerMichael Wild <themiwi@users.sourceforge.net>
Wed, 8 Jul 2009 13:08:01 +0000 (8 15:08 +0200)
tree3a852b11d279c11b2fad4a7cc5bec90592bf911b
parent278447a117fa7a39e7bd5de19b2911d92291ef2e
FIX: Try harder to find the fl library and FlexLexer.h in FindFLEX.cmake

By assuming flex is in <prefix>/bin/flex, and the library in
<prefix>/lib/libfl.a. If <prefix>/lib exists, it is used as a hint to
find_library. For FlexLexer.h assume that it is in <prefix>/include.

Signed-off-by: Michael Wild <themiwi@users.sourceforge.net>
CMake/Modules/FindFLEX.cmake
CMakeLists.txt