From 9f2dca805c8010636d4be7ef03d96bfc131c9809 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Mon, 28 Oct 2013 19:47:46 +0100 Subject: Move GetLocation to cmGeneratorTarget. --- Source/cmCustomCommandGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/cmCustomCommandGenerator.cxx') diff --git a/Source/cmCustomCommandGenerator.cxx b/Source/cmCustomCommandGenerator.cxx index 086c9f9588..7f3b651090 100644 --- a/Source/cmCustomCommandGenerator.cxx +++ b/Source/cmCustomCommandGenerator.cxx @@ -48,7 +48,7 @@ std::string cmCustomCommandGenerator::GetCommand(unsigned int c) const (target->Target->IsImported() || !this->LG->GetMakefile()->IsOn("CMAKE_CROSSCOMPILING"))) { - return target->Target->GetLocation(this->Config); + return target->GetLocation(this->Config); } return this->GE->Parse(argv0)->Evaluate(this->LG->GetMakefile(), this->Config); -- cgit v1.2.1