BUG: Fix for spaces in the path when constructing cmBootstrapCommands dependencies.
This commit is contained in:
parent
4c765d2797
commit
636f1587b5
|
@ -878,7 +878,8 @@ for a in ${CMAKE_CXX_SOURCES} ${CMAKE_C_SOURCES} ${KWSYS_CXX_SOURCES} ${KWSYS_C_
|
||||||
done
|
done
|
||||||
|
|
||||||
# Generate dependencies for cmBootstrapCommands.cxx
|
# Generate dependencies for cmBootstrapCommands.cxx
|
||||||
cmBootstrapCommandsDeps=`grep "#include.*cm[^.]*.cxx" ${cmake_source_dir}/Source/cmBootstrapCommands.cxx | sed "s/.* \"\(.*\)\"/\1/" | awk "{ print \"${cmake_source_dir}/Source/\" \\$1}"`
|
cmBootstrapCommandsDepsDir=`cmake_escape "${cmake_source_dir}/Source/"`
|
||||||
|
cmBootstrapCommandsDeps=`grep "#include.*cm[^.]*.cxx" "${cmake_source_dir}/Source/cmBootstrapCommands.cxx" | sed "s/.* \"\(.*\)\"/\1/" | awk "{ print \"${cmBootstrapCommandsDepsDir}\" \\$1}"`
|
||||||
cmBootstrapCommandsDeps=`echo $cmBootstrapCommandsDeps`
|
cmBootstrapCommandsDeps=`echo $cmBootstrapCommandsDeps`
|
||||||
|
|
||||||
if [ "x${cmake_ansi_cxx_flags}" != "x" ]; then
|
if [ "x${cmake_ansi_cxx_flags}" != "x" ]; then
|
||||||
|
|
Loading…
Reference in New Issue