Explorar el Código

FindBISON: Add support for the Win flex-bison distribution

Search for win_bison too.
Patrick Gansterer hace 13 años
padre
commit
e593f8a1cf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Modules/FindBISON.cmake

+ 1 - 1
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)