summaryrefslogtreecommitdiffstats
path: root/Source/cmDSPWriter.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-04-09 14:31:36 (GMT)
committerBrad King <brad.king@kitware.com>2001-04-09 14:31:36 (GMT)
commite0da3ef275682626ec2e23d1abd6cca752882b47 (patch)
tree9a0e8ed9cc7a7fc8c3c07d89f255e08c33d257bb /Source/cmDSPWriter.cxx
parente7bd5fcd19064480142aae2928189dc822fad47c (diff)
downloadCMake-e0da3ef275682626ec2e23d1abd6cca752882b47.zip
CMake-e0da3ef275682626ec2e23d1abd6cca752882b47.tar.gz
CMake-e0da3ef275682626ec2e23d1abd6cca752882b47.tar.bz2
ERR: Corrected use of double-quotes to be compatible with UNIX make. Now double quotes (windows) or escape sequences for spaces (unix) are added when dependencies are output.
Diffstat (limited to 'Source/cmDSPWriter.cxx')
-rw-r--r--Source/cmDSPWriter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx
index 7a5f60a..766908b 100644
--- a/Source/cmDSPWriter.cxx
+++ b/Source/cmDSPWriter.cxx
@@ -322,7 +322,7 @@ void cmDSPMakefile::WriteCustomRule(std::ostream& fout,
for(std::set<std::string>::const_iterator d = depends.begin();
d != depends.end(); ++d)
{
- fout << " " << d->c_str();
+ fout << " \"" << d->c_str() << "\"";
}
fout << "\n " << command << "\n\n";
}