summaryrefslogtreecommitdiffstats
path: root/Source/cmCommonTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-19 23:01:21 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-20 22:52:22 (GMT)
commit18046bd50a502508f170baa6cec5c81efb33f180 (patch)
tree440633248af9bf52aa81cfc31b4be9d619ed91e8 /Source/cmCommonTargetGenerator.cxx
parent91411641a7b8029d05899b11590fb4e676716a85 (diff)
downloadCMake-18046bd50a502508f170baa6cec5c81efb33f180.zip
CMake-18046bd50a502508f170baa6cec5c81efb33f180.tar.gz
CMake-18046bd50a502508f170baa6cec5c81efb33f180.tar.bz2
cmCommonTargetGenerator: Use NameResolvesToFramework without cmTarget.
Diffstat (limited to 'Source/cmCommonTargetGenerator.cxx')
-rw-r--r--Source/cmCommonTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCommonTargetGenerator.cxx b/Source/cmCommonTargetGenerator.cxx
index 1982bba..6920faf 100644
--- a/Source/cmCommonTargetGenerator.cxx
+++ b/Source/cmCommonTargetGenerator.cxx
@@ -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 += "/../";