diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-19 23:01:21 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-20 22:52:22 (GMT) |
commit | 18046bd50a502508f170baa6cec5c81efb33f180 (patch) | |
tree | 440633248af9bf52aa81cfc31b4be9d619ed91e8 /Source/cmCommonTargetGenerator.cxx | |
parent | 91411641a7b8029d05899b11590fb4e676716a85 (diff) | |
download | CMake-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.cxx | 2 |
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 += "/../"; |