ENH: getting closer
This commit is contained in:
parent
2ed6191fce
commit
5af3105021
|
@ -2623,13 +2623,25 @@ cmGlobalXCodeGenerator
|
|||
{
|
||||
if(config)
|
||||
{
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
std::string cmGlobalXCodeGenerator::LookupFlags(const char* varNamePrefix,
|
||||
|
|
Loading…
Reference in New Issue