From cbf143bb76604f576275d96a1e1e4c701680ff29 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 3 May 2015 11:33:08 +0200 Subject: cmComputeTargetDepends: Use simpler global generator access. --- Source/cmComputeTargetDepends.cxx | 4 +--- 1 file changed, 1 insertion(+), 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 emitted; - cmGeneratorTarget* gt = depender->GetMakefile()->GetLocalGenerator() - ->GetGlobalGenerator() - ->GetGeneratorTarget(depender); + cmGeneratorTarget* gt = this->GlobalGenerator->GetGeneratorTarget(depender); std::vector configs; depender->GetMakefile()->GetConfigurations(configs); -- cgit v0.12