cmGlobalXCodeGenerator: do not pass char* to cmSystemTools::CollapseFullPath()
This takes a std::string&, so directly pass the object to it instead of converting back and forth.
This commit is contained in:
parent
2b25ce30ca
commit
2263949b78
|
@ -2282,7 +2282,7 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmGeneratorTarget* gtgt,
|
|||
{
|
||||
std::string frameworkDir = *i;
|
||||
frameworkDir += "/../";
|
||||
frameworkDir = cmSystemTools::CollapseFullPath(frameworkDir.c_str());
|
||||
frameworkDir = cmSystemTools::CollapseFullPath(frameworkDir);
|
||||
if(emitted.insert(frameworkDir).second)
|
||||
{
|
||||
fdirs.Add(this->XCodeEscapePath(frameworkDir));
|
||||
|
|
Loading…
Reference in New Issue