mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
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
Block a user