summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-09-14 19:18:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-09-14 19:18:33 (GMT)
commitdd533552bb2c53edc8cd6a5834ba1f46088408f2 (patch)
treeccee009d4e5ed793687c9630c61ad5b56b9b3b6a /Source
parent9438a5965a78390b93aaf0018524e39d26a8ceb4 (diff)
downloadCMake-dd533552bb2c53edc8cd6a5834ba1f46088408f2.zip
CMake-dd533552bb2c53edc8cd6a5834ba1f46088408f2.tar.gz
CMake-dd533552bb2c53edc8cd6a5834ba1f46088408f2.tar.bz2
fix error in cygwin
Diffstat (limited to 'Source')
-rw-r--r--Source/cmDSPWriter.cxx3
1 files changed, 2 insertions, 1 deletions
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] != '"')