FindBISON: Add support for the Win flex-bison distribution

Search for win_bison too.
This commit is contained in:
Patrick Gansterer 2012-11-26 20:46:36 +01:00 committed by Brad King
parent e574852120
commit e593f8a1cf
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
find_program(BISON_EXECUTABLE bison DOC "path to the bison executable")
find_program(BISON_EXECUTABLE NAMES bison win_bison DOC "path to the bison executable")
mark_as_advanced(BISON_EXECUTABLE)
if(BISON_EXECUTABLE)