Skip to content

Commit

Permalink
CMake - when searching bison, look also for win_bison
Browse files Browse the repository at this point in the history
win_bison belongs winflexbison project, which is Windows most up-to-date
bison distro.
  • Loading branch information
vaintroub committed Mar 31, 2021
1 parent 08cb5d8 commit 453bac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/bison.cmake
Expand Up @@ -27,7 +27,7 @@ IF(WIN32)
C:/cygwin64/bin
C:/cygwin/bin)
ENDIF()
FIND_PROGRAM(BISON_EXECUTABLE bison
FIND_PROGRAM(BISON_EXECUTABLE NAMES bison win_bison
${BISON_PATH_HINTS}
DOC "path to the bison executable")
MARK_AS_ADVANCED(BISON_EXECUTABLE "")
Expand Down

0 comments on commit 453bac0

Please sign in to comment.