From dd533552bb2c53edc8cd6a5834ba1f46088408f2 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 14 Sep 2001 15:18:33 -0400 Subject: fix error in cygwin --- Source/cmDSPWriter.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx index 2840772..8d52ee4 100644 --- a/Source/cmDSPWriter.cxx +++ b/Source/cmDSPWriter.cxx @@ -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] != '"') -- cgit v0.12