summaryrefslogtreecommitdiff
path: root/Source/cmCustomCommandGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-10-28 19:47:46 +0100
committerStephen Kelly <steveire@gmail.com>2015-07-27 21:58:50 +0200
commit9f2dca805c8010636d4be7ef03d96bfc131c9809 (patch)
tree0fe3e34e2ef5344d53d3d0d5c41f36bb17942321 /Source/cmCustomCommandGenerator.cxx
parentc7a8e74b8c7ade9efb68b8bd36fd6d741f2dba7e (diff)
downloadcmake-9f2dca805c8010636d4be7ef03d96bfc131c9809.tar.gz
Move GetLocation to cmGeneratorTarget.
Diffstat (limited to 'Source/cmCustomCommandGenerator.cxx')
-rw-r--r--Source/cmCustomCommandGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
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);