diff options
author | Jörg Mayer <jmayer@loplof.de> | 2013-11-03 12:22:39 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2013-11-03 12:22:39 +0000 |
commit | 117a59d7a2998077d5e5163ce1f8d11edd220944 (patch) | |
tree | 3354cb559c02db144cb687c6c0497b7be1de9b6d /cmake/modules/FindLEX.cmake | |
parent | 7054372c261ac92233707cfd49851b5e6213826f (diff) |
Pass the name of the sed executable as an explicit argurment to
runlex.sh (like it is done with LEX already). May fix a problem
on Windows with cmake.
svn path=/trunk/; revision=53059
Diffstat (limited to 'cmake/modules/FindLEX.cmake')
-rw-r--r-- | cmake/modules/FindLEX.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindLEX.cmake b/cmake/modules/FindLEX.cmake index 3e13271b00..955ae3849a 100644 --- a/cmake/modules/FindLEX.cmake +++ b/cmake/modules/FindLEX.cmake @@ -35,7 +35,7 @@ MACRO(ADD_LEX_FILES _sources ) ADD_CUSTOM_COMMAND( OUTPUT ${_outc} - COMMAND ${SH_EXECUTABLE} ${SH_FLAGS1} ${SH_FLAGS2} ${CMAKE_SOURCE_DIR}/tools/runlex.sh ${LEX_EXECUTABLE} + COMMAND ${SH_EXECUTABLE} ${SH_FLAGS1} ${SH_FLAGS2} ${CMAKE_SOURCE_DIR}/tools/runlex.sh ${LEX_EXECUTABLE} ${SED_EXECUTABLE} -o${_outc} --header-file=${_outh} ${_in} |