diff options
author | Yan <yan@fastmail.com> | 2020-06-22 19:42:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-06-22 19:50:22 (GMT) |
commit | 0faa2b98701a592cbd1f62e44aa327c410ee76a5 (patch) | |
tree | 7705ff00a32478f76902eca4f2024b1868fdaa29 /Modules/FindFLEX.cmake | |
parent | 596cfd26809793c7165b5e5047be133e0419c6e5 (diff) | |
download | CMake-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/FindFLEX.cmake')
-rw-r--r-- | Modules/FindFLEX.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindFLEX.cmake b/Modules/FindFLEX.cmake index 90e5f86..1384736 100644 --- a/Modules/FindFLEX.cmake +++ b/Modules/FindFLEX.cmake @@ -99,7 +99,7 @@ respectively ``FLEX_TARGET`` and ``BISON_TARGET`` macros. ==================================================================== #]=======================================================================] -find_program(FLEX_EXECUTABLE NAMES flex win_flex DOC "path to the flex executable") +find_program(FLEX_EXECUTABLE NAMES flex win-flex win_flex DOC "path to the flex executable") mark_as_advanced(FLEX_EXECUTABLE) find_library(FL_LIBRARY NAMES fl |