diff options
author | Gerald Combs <gerald@wireshark.org> | 2014-08-07 14:07:16 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-08-07 21:54:54 +0000 |
commit | 714fa85d85225307af42e2194e551b8087e617dd (patch) | |
tree | 7ff8c9477fad1141b6cb2e8b2f89dc0c388849da /cmake/modules/FindLEX.cmake | |
parent | 1dc88edc2c3283620adc941a38d5c26cdc1e79c4 (diff) |
Win flex-bison and Chocolatey updates.
Chocolatey's latest winflexbison package is usable. Update
config.nmake, FindLEX.cmake, and FindYACC.cmake accordingly. Rename
CHOCOLATEY_INSTALL_PATH to CHOCOLATEY_BIN_PATH since that's what we're
finding.
Change-Id: I39973fba0531b3f7a1315ca010a8bd70581db3fb
Reviewed-on: https://code.wireshark.org/review/3479
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'cmake/modules/FindLEX.cmake')
-rw-r--r-- | cmake/modules/FindLEX.cmake | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/cmake/modules/FindLEX.cmake b/cmake/modules/FindLEX.cmake index 1c413b716b..c540011041 100644 --- a/cmake/modules/FindLEX.cmake +++ b/cmake/modules/FindLEX.cmake @@ -1,14 +1,9 @@ # -# - Find lex executable +# - Find flex/lex executable # INCLUDE(FindCygwin) -#INCLUDE(FindChocolatey) - -# Chocolatey's C:\Chocolatey\bin\win_flex and -\win_bison are -# currently unusable without some manual adjustments to the -# win_flex and win_bison wrapper scripts. Calling the executables -# directly should work. +INCLUDE(FindChocolatey) FIND_PROGRAM(LEX_EXECUTABLE NAMES @@ -16,9 +11,8 @@ FIND_PROGRAM(LEX_EXECUTABLE win_flex lex PATHS + ${CHOCOLATEY_BIN_PATH}/bin ${CYGWIN_INSTALL_PATH}/bin -# ${CHOCOLATEY_INSTALL_PATH}/bin -# ${CHOCOLATEY_INSTALL_PATH}/lib/winflexbison.2.4.1.20140103/tools /bin /usr/bin /usr/local/bin |