Procházet zdrojové kódy

FindBISON: Add support for the Win flex-bison distribution

Search for win_bison too.
Patrick Gansterer před 13 roky
rodič
revize
e593f8a1cf
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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
 # (To distribute this file outside of CMake, substitute the full
 #  License text for the above reference.)
 #  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)
 mark_as_advanced(BISON_EXECUTABLE)
 
 
 if(BISON_EXECUTABLE)
 if(BISON_EXECUTABLE)