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

This commit is contained in:
Berk Geveci 2001-11-20 17:26:45 -05:00
parent 572e5146f8
commit 46568242fa
1 changed files with 1 additions and 0 deletions

View File

@ -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());