diff options
author | Patrick Gansterer <paroga@paroga.com> | 2012-11-26 19:46:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-26 21:29:38 (GMT) |
commit | e593f8a1cf8d8f757e6630148a37dc77cdf8eaf1 (patch) | |
tree | dfdeb1b4297adc97058e6d4574a29909df97cd2b /Modules/FindBISON.cmake | |
parent | e5748521206e1f240d495d1ec3b2ccd31611f081 (diff) | |
download | CMake-e593f8a1cf8d8f757e6630148a37dc77cdf8eaf1.zip CMake-e593f8a1cf8d8f757e6630148a37dc77cdf8eaf1.tar.gz CMake-e593f8a1cf8d8f757e6630148a37dc77cdf8eaf1.tar.bz2 |
FindBISON: Add support for the Win flex-bison distribution
Search for win_bison too.
Diffstat (limited to 'Modules/FindBISON.cmake')
-rw-r--r-- | Modules/FindBISON.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindBISON.cmake b/Modules/FindBISON.cmake index a0afd34..4a3e68c 100644 --- a/Modules/FindBISON.cmake +++ b/Modules/FindBISON.cmake @@ -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) |