Просмотр исходного кода

FindBISON: Add support for the Win flex-bison distribution

Search for win_bison too.
Patrick Gansterer 13 лет назад
Родитель
Сommit
e593f8a1cf
1 измененных файлов с 1 добавлено и 1 удалено
  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)