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
This commit is contained in:
Jörg Mayer 2013-10-04 22:18:57 +00:00
parent afb568c549
commit 21bfea7309
1 changed files with 1 additions and 2 deletions

View File

@ -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}