Browse Source

BUG: fix for spaces in path to CMakeList.txt file

Berk Geveci 24 years ago
parent
commit
46568242fa
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/cmDSPWriter.cxx

+ 1 - 0
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());