mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 05:39:57 -05:00
ENH: getting closer
This commit is contained in:
@@ -2623,10 +2623,22 @@ cmGlobalXCodeGenerator
|
||||
{
|
||||
if(config)
|
||||
{
|
||||
|
||||
dir += prefix;
|
||||
dir += config;
|
||||
dir += suffix;
|
||||
if(dir.find(".framework") != dir.npos)
|
||||
{
|
||||
std::string::size_type pos = dir.rfind("/");
|
||||
std::string framework = dir.substr(pos);
|
||||
std::string newDir;
|
||||
newDir = dir.substr(0, pos);
|
||||
newDir += "/";
|
||||
newDir += config;
|
||||
dir = newDir;
|
||||
}
|
||||
else
|
||||
{
|
||||
dir += prefix;
|
||||
dir += config;
|
||||
dir += suffix;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user