Skip to content

Find{FLEX,BISON}: Add 'win-' executable names

Yan requested to merge mindv0rtex/cmake:fix-win-flex-bison into master

Distributions of these tools on Windows now use a win- prefix instead of the previously-seen win_ prefix. Search for both.

Original Description

FindBISON and FindFLEX modules support Windows version of Flex and Bison, but they search for slightly incorrect executables. I noticed it when I provided BISON_ROOT and FLEX_ROOT and it didn't work on Windows until I made this change.

Backport: release

Edited by Brad King

Merge request reports