cmCommonTargetGenerator: Use NameResolvesToFramework without cmTarget.
This commit is contained in:
parent
91411641a7
commit
18046bd50a
@ -265,7 +265,7 @@ std::string cmCommonTargetGenerator::GetFrameworkFlags(std::string const& l)
|
||||
for(std::vector<std::string>::iterator i = includes.begin();
|
||||
i != includes.end(); ++i)
|
||||
{
|
||||
if(this->Target->NameResolvesToFramework(*i))
|
||||
if(this->GlobalGenerator->NameResolvesToFramework(*i))
|
||||
{
|
||||
std::string frameworkDir = *i;
|
||||
frameworkDir += "/../";
|
||||
|
Loading…
x
Reference in New Issue
Block a user