BUG: fix for spaces in paths in library path

This commit is contained in:
Bill Hoffman 2003-02-08 10:23:33 -05:00
parent 1628b593d3
commit 217f4b764a
1 changed files with 1 additions and 1 deletions

View File

@ -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());