diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-09 21:57:17 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-19 18:27:41 (GMT) |
commit | b5f5de70c0b754010f151cde75783a2cc62db835 (patch) | |
tree | c350c97df9ba3cdbaca221e8001fc4eefab44252 /Source/cmGlobalGenerator.cxx | |
parent | 8e20ea6ef2258867bd6554536fa7b914f266df96 (diff) | |
download | CMake-b5f5de70c0b754010f151cde75783a2cc62db835.zip CMake-b5f5de70c0b754010f151cde75783a2cc62db835.tar.gz CMake-b5f5de70c0b754010f151cde75783a2cc62db835.tar.bz2 |
cmGeneratorTarget: Copy IsFrameworkOnApple from cmTarget.
Leave the cmTarget method behind for now to implement cmInstallCommand.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index f54f936..1142ddd 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -2208,7 +2208,8 @@ cmGlobalGenerator::NameResolvesToFramework(const std::string& libname) const if(cmTarget* tgt = this->FindTarget(libname)) { - if(tgt->IsFrameworkOnApple()) + cmGeneratorTarget* gt = this->GetGeneratorTarget(tgt); + if(gt->IsFrameworkOnApple()) { return true; } |