summaryrefslogtreecommitdiffstats
path: root/Modules/FindBISON.cmake
diff options
context:
space:
mode:
authorYan <yan@fastmail.com>2020-06-22 19:42:10 (GMT)
committerBrad King <brad.king@kitware.com>2020-06-22 19:50:22 (GMT)
commit0faa2b98701a592cbd1f62e44aa327c410ee76a5 (patch)
tree7705ff00a32478f76902eca4f2024b1868fdaa29 /Modules/FindBISON.cmake
parent596cfd26809793c7165b5e5047be133e0419c6e5 (diff)
downloadCMake-0faa2b98701a592cbd1f62e44aa327c410ee76a5.zip
CMake-0faa2b98701a592cbd1f62e44aa327c410ee76a5.tar.gz
CMake-0faa2b98701a592cbd1f62e44aa327c410ee76a5.tar.bz2
Find{FLEX,BISON}: Add 'win-' executable names
Distributions of these tools on Windows now use a `win-` prefix instead of the previously-seen `win_` prefix. Search for both.
Diffstat (limited to 'Modules/FindBISON.cmake')
-rw-r--r--Modules/FindBISON.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindBISON.cmake b/Modules/FindBISON.cmake
index 6b5828e..1e1a5a3 100644
--- a/Modules/FindBISON.cmake
+++ b/Modules/FindBISON.cmake
@@ -82,7 +82,7 @@ Example usage:
add_executable(Foo main.cpp ${BISON_MyParser_OUTPUTS})
#]=======================================================================]
-find_program(BISON_EXECUTABLE NAMES bison win_bison DOC "path to the bison executable")
+find_program(BISON_EXECUTABLE NAMES bison win-bison win_bison DOC "path to the bison executable")
mark_as_advanced(BISON_EXECUTABLE)
if(BISON_EXECUTABLE)