summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-02-08 15:23:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-02-08 15:23:33 (GMT)
commit217f4b764abf42958e2fc77b5c99c295cea1b889 (patch)
tree968c9399a9e86f3606bd6115bba0e592be6fd6cd
parent1628b593d396df69c3a57fa8fd286f223e2e2bd0 (diff)
downloadCMake-217f4b764abf42958e2fc77b5c99c295cea1b889.zip
CMake-217f4b764abf42958e2fc77b5c99c295cea1b889.tar.gz
CMake-217f4b764abf42958e2fc77b5c99c295cea1b889.tar.bz2
BUG: fix for spaces in paths in library path
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index 1079ce1..8e50d1c 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -541,7 +541,7 @@ void cmLocalUnixMakefileGenerator::OutputLinkLibraries(std::ostream& fout,
for(std::vector<std::string>::const_iterator libDir = libdirs.begin();
libDir != libdirs.end(); ++libDir)
{
- std::string libpath = cmSystemTools::ConvertToOutputPath(libDir->c_str());
+ std::string libpath = this->ConvertToOutputForExisting(libDir->c_str());
if(emitted.insert(libpath).second)
{
std::string::size_type pos = libDir->find(libPathFlag.c_str());