diff options
author | Jörg Mayer <jmayer@loplof.de> | 2013-10-04 22:18:57 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2013-10-04 22:18:57 +0000 |
commit | 21bfea7309ee0531f5393c2aac094fb40fd849a3 (patch) | |
tree | bcd12c183cd2d6ebcab536ee400d7e4acd9c5047 /cmake/modules/FindLEX.cmake | |
parent | afb568c549b87745fb64796b4a2d38bfbd98eab5 (diff) | |
download | wireshark-21bfea7309ee0531f5393c2aac094fb40fd849a3.tar.gz |
Looks like we have problems invoking shell scripts from
cmake on windows - so explicitely run the shell with the
script as argument
svn path=/trunk/; revision=52372
Diffstat (limited to 'cmake/modules/FindLEX.cmake')
-rw-r--r-- | cmake/modules/FindLEX.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/modules/FindLEX.cmake b/cmake/modules/FindLEX.cmake index ccb0d8dddc..9cb9f747d6 100644 --- a/cmake/modules/FindLEX.cmake +++ b/cmake/modules/FindLEX.cmake @@ -35,8 +35,7 @@ MACRO(ADD_LEX_FILES _sources ) ADD_CUSTOM_COMMAND( OUTPUT ${_outc} -# COMMAND ${LEX_EXECUTABLE} - COMMAND ${CMAKE_SOURCE_DIR}/tools/runlex.sh ${LEX_EXECUTABLE} + COMMAND ${SH_EXECUTABLE} ${CMAKE_SOURCE_DIR}/tools/runlex.sh ${LEX_EXECUTABLE} -o${_outc} --header-file=${_outh} ${_in} |