summaryrefslogtreecommitdiffstats
path: root/Modules/FindBISON.cmake
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2012-11-26 19:46:36 (GMT)
committerBrad King <brad.king@kitware.com>2012-11-26 21:29:38 (GMT)
commite593f8a1cf8d8f757e6630148a37dc77cdf8eaf1 (patch)
treedfdeb1b4297adc97058e6d4574a29909df97cd2b /Modules/FindBISON.cmake
parente5748521206e1f240d495d1ec3b2ccd31611f081 (diff)
downloadCMake-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.cmake2
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)