fix error in cygwin

This commit is contained in:
Bill Hoffman 2001-09-14 15:18:33 -04:00
parent 9438a5965a
commit dd533552bb
1 changed files with 2 additions and 1 deletions

View File

@ -73,7 +73,8 @@ void cmDSPWriter::OutputDSPFile()
for(i = includes.begin(); i != includes.end(); ++i)
{
m_IncludeOptions += " /I ";
std::string tmp = cmSystemTools::ConvertToWindowsSlashesAndCleanUp(cmSystemTools::EscapeSpaces(i->c_str()));
std::string tmp = cmSystemTools::EscapeSpaces(i->c_str());
cmSystemTools::ConvertToWindowsSlashesAndCleanUp(tmp);
// quote if not already quoted
if (tmp[0] != '"')