diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-06-06 11:08:17 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-07-01 17:46:19 (GMT) |
commit | faec4e611d08ea2f75d2127e3ca3f5e9a427465b (patch) | |
tree | ab775b2bf9a9a4517204b700e4add7e41ca726c3 /Source/cmGlobalXCodeGenerator.cxx | |
parent | 7e3ac12df45fa42b590971accaf1db89b1a0ffb6 (diff) | |
download | CMake-faec4e611d08ea2f75d2127e3ca3f5e9a427465b.zip CMake-faec4e611d08ea2f75d2127e3ca3f5e9a427465b.tar.gz CMake-faec4e611d08ea2f75d2127e3ca3f5e9a427465b.tar.bz2 |
cmComputeTargetDepends: Change API to use cmGeneratorTarget.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 1301e3e..505929e 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -2895,10 +2895,11 @@ void cmGlobalXCodeGenerator } // Add dependencies on other CMake targets. - TargetDependSet const& deps = this->GetTargetDirectDepends(*cmtarget); + cmGeneratorTarget* gt = this->GetGeneratorTarget(cmtarget); + TargetDependSet const& deps = this->GetTargetDirectDepends(gt); for(TargetDependSet::const_iterator i = deps.begin(); i != deps.end(); ++i) { - if(cmXCodeObject* dptarget = this->FindXCodeTarget(*i)) + if(cmXCodeObject* dptarget = this->FindXCodeTarget((*i)->Target)) { this->AddDependTarget(target, dptarget); } |