diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-03 09:33:08 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-03 09:41:59 (GMT) |
commit | cbf143bb76604f576275d96a1e1e4c701680ff29 (patch) | |
tree | 4984697999b551727eeadf82a0013987ec2090bc /Source/cmComputeTargetDepends.cxx | |
parent | 040491fc586d34fe467907eefc85b1524c7cea1e (diff) | |
download | CMake-cbf143bb76604f576275d96a1e1e4c701680ff29.zip CMake-cbf143bb76604f576275d96a1e1e4c701680ff29.tar.gz CMake-cbf143bb76604f576275d96a1e1e4c701680ff29.tar.bz2 |
cmComputeTargetDepends: Use simpler global generator access.
Diffstat (limited to 'Source/cmComputeTargetDepends.cxx')
-rw-r--r-- | Source/cmComputeTargetDepends.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmComputeTargetDepends.cxx b/Source/cmComputeTargetDepends.cxx index 11056cd..d26984c 100644 --- a/Source/cmComputeTargetDepends.cxx +++ b/Source/cmComputeTargetDepends.cxx @@ -216,9 +216,7 @@ void cmComputeTargetDepends::CollectTargetDepends(int depender_index) // deal with config-specific dependencies. { std::set<std::string> emitted; - cmGeneratorTarget* gt = depender->GetMakefile()->GetLocalGenerator() - ->GetGlobalGenerator() - ->GetGeneratorTarget(depender); + cmGeneratorTarget* gt = this->GlobalGenerator->GetGeneratorTarget(depender); std::vector<std::string> configs; depender->GetMakefile()->GetConfigurations(configs); |