BUG: fix for spaces in paths in library path
This commit is contained in:
parent
1628b593d3
commit
217f4b764a
|
@ -541,7 +541,7 @@ void cmLocalUnixMakefileGenerator::OutputLinkLibraries(std::ostream& fout,
|
||||||
for(std::vector<std::string>::const_iterator libDir = libdirs.begin();
|
for(std::vector<std::string>::const_iterator libDir = libdirs.begin();
|
||||||
libDir != libdirs.end(); ++libDir)
|
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)
|
if(emitted.insert(libpath).second)
|
||||||
{
|
{
|
||||||
std::string::size_type pos = libDir->find(libPathFlag.c_str());
|
std::string::size_type pos = libDir->find(libPathFlag.c_str());
|
||||||
|
|
Loading…
Reference in New Issue