aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorGraham Bloice <graham.bloice@trihedral.com>2016-09-17 18:54:41 +0100
committerGraham Bloice <graham.bloice@trihedral.com>2016-09-18 09:57:06 +0000
commit7514f98f563bf480b28214e883e9e100d0cdcdf9 (patch)
treeb2157beed01597dc1f1ca70a3d7f12ebcb856abe /cmake
parent66203b4f31e69187636d2dfc0562bc0ccc5a7173 (diff)
Make Winflex\bison the preferred option
Cygwin flex\bison generate shortening warnings due to size_t on Win 64. The win flex\bison versions don't so find them first. Change-Id: Ib68c84435f859325612410b72b6cf21cf106ecc2 Reviewed-on: https://code.wireshark.org/review/17763 Petri-Dish: Graham Bloice <graham.bloice@trihedral.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindLEX.cmake2
-rw-r--r--cmake/modules/FindYACC.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindLEX.cmake b/cmake/modules/FindLEX.cmake
index adeb75c07a..6a9c0fc702 100644
--- a/cmake/modules/FindLEX.cmake
+++ b/cmake/modules/FindLEX.cmake
@@ -7,8 +7,8 @@ INCLUDE(FindChocolatey)
FIND_PROGRAM(LEX_EXECUTABLE
NAMES
- flex
win_flex
+ flex
lex
PATHS
${CHOCOLATEY_BIN_PATH}/bin
diff --git a/cmake/modules/FindYACC.cmake b/cmake/modules/FindYACC.cmake
index dca1c09fa8..b32fd4d4e9 100644
--- a/cmake/modules/FindYACC.cmake
+++ b/cmake/modules/FindYACC.cmake
@@ -7,8 +7,8 @@ INCLUDE(FindChocolatey)
FIND_PROGRAM(YACC_EXECUTABLE
NAMES
- bison
win_bison
+ bison
yacc
PATHS
${CHOCOLATEY_BIN_PATH}/bin