mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-18 01:31:04 -05: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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user