diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-05-09 20:08:50 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-05-09 20:08:50 (GMT) |
commit | 013b9b38495c9c7326ab099b73c777f0f5a28d52 (patch) | |
tree | e5b467d2f82df9d0d7613821790c4c0cac1e89d3 /Source/cmDSPMakefile.cxx | |
parent | e30a660df5a8ab3335ada8896f22e7ec2fc759e4 (diff) | |
download | CMake-013b9b38495c9c7326ab099b73c777f0f5a28d52.zip CMake-013b9b38495c9c7326ab099b73c777f0f5a28d52.tar.gz CMake-013b9b38495c9c7326ab099b73c777f0f5a28d52.tar.bz2 |
ENH: escape spaces
Diffstat (limited to 'Source/cmDSPMakefile.cxx')
-rw-r--r-- | Source/cmDSPMakefile.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmDSPMakefile.cxx b/Source/cmDSPMakefile.cxx index c54d1a3..9d33640 100644 --- a/Source/cmDSPMakefile.cxx +++ b/Source/cmDSPMakefile.cxx @@ -442,7 +442,7 @@ void cmDSPMakefile::WriteDSPHeader(std::ostream& fout, const char *libName, if (j->second == cmTarget::GENERAL) { libOptions += " "; - libOptions += j->first; + libOptions += cmSystemTools::EscapeSpaces(j->first.c_str()); if(j->first.find(".lib") == std::string::npos) { libOptions += ".lib "; @@ -451,7 +451,7 @@ void cmDSPMakefile::WriteDSPHeader(std::ostream& fout, const char *libName, if (j->second == cmTarget::DEBUG) { libDebugOptions += " "; - libDebugOptions += j->first; + libDebugOptions += cmSystemTools::EscapeSpaces(j->first.c_str()); if(j->first.find(".lib") == std::string::npos) { libDebugOptions += ".lib "; @@ -460,7 +460,7 @@ void cmDSPMakefile::WriteDSPHeader(std::ostream& fout, const char *libName, if (j->second == cmTarget::OPTIMIZED) { libOptimizedOptions += " "; - libOptimizedOptions += j->first; + libOptimizedOptions += cmSystemTools::EscapeSpaces(j->first.c_str()); if(j->first.find(".lib") == std::string::npos) { libOptimizedOptions += ".lib "; |