mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-10 23:43:58 +03:00
cmCommonTargetGenerator: Use NameResolvesToFramework without cmTarget.
This commit is contained in:
1 parent
91411641a7
commit
18046bd50a
1 file changed
+1
-1
@@ -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 += "/../";
|
||||
|
||||
Reference in new issue
Block a user