cmCommonTargetGenerator: Use NameResolvesToFramework without cmTarget.

This commit is contained in:
Stephen Kelly 2015-10-20 01:01:21 +02:00
parent 91411641a7
commit 18046bd50a
1 changed files with 1 additions and 1 deletions

View File

@ -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 += "/../";