diff options
author | Berk Geveci <berk.geveci@kitware.com> | 2001-11-20 22:26:45 (GMT) |
---|---|---|
committer | Berk Geveci <berk.geveci@kitware.com> | 2001-11-20 22:26:45 (GMT) |
commit | 46568242fa3c5e62ce7fecc2d66ff4f9795cefc7 (patch) | |
tree | 7e56d38736b74eae420edb575f182593ff99799c /Source/cmDSPWriter.cxx | |
parent | 572e5146f8a88894c86c4652add4d4134779ff60 (diff) | |
download | CMake-46568242fa3c5e62ce7fecc2d66ff4f9795cefc7.zip CMake-46568242fa3c5e62ce7fecc2d66ff4f9795cefc7.tar.gz CMake-46568242fa3c5e62ce7fecc2d66ff4f9795cefc7.tar.bz2 |
BUG: fix for spaces in path to CMakeList.txt file
Diffstat (limited to 'Source/cmDSPWriter.cxx')
-rw-r--r-- | Source/cmDSPWriter.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx index e1ef3b4..8da1c17 100644 --- a/Source/cmDSPWriter.cxx +++ b/Source/cmDSPWriter.cxx @@ -165,6 +165,7 @@ void cmDSPWriter::AddDSPBuildRule(cmSourceGroup& sourceGroup) makefileIn += "/"; makefileIn += "CMakeLists.txt"; makefileIn = cmSystemTools::HandleNetworkPaths(makefileIn.c_str()); + makefileIn = cmSystemTools::EscapeSpaces(makefileIn.c_str()); std::string dsprule = "${CMAKE_COMMAND} "; m_Makefile->ExpandVariablesInString(dsprule); dsprule = cmSystemTools::HandleNetworkPaths(dsprule.c_str()); |