summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-09-16 03:21:07 (GMT)
committerBrad King <brad.king@kitware.com>2015-10-14 17:32:09 (GMT)
commit2293d43d00ddcff86c70f0b06014223f3b01e36c (patch)
treea5a581e0637bd509f0802f979745bcc4678f4c31 /Source/cmGeneratorTarget.cxx
parent488723f5cd9bec3f7b35b26c89ce2d92ad7d4db4 (diff)
downloadCMake-2293d43d00ddcff86c70f0b06014223f3b01e36c.zip
CMake-2293d43d00ddcff86c70f0b06014223f3b01e36c.tar.gz
CMake-2293d43d00ddcff86c70f0b06014223f3b01e36c.tar.bz2
cmLocalGenerator: Store cmGeneratorTargets.
Relieve cmMakefile of this responsibility.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 6033efe..6bebc2b 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -2305,7 +2305,8 @@ bool cmTargetTraceDependencies::IsUtility(std::string const& dep)
// Check for a target with this name.
if(cmGeneratorTarget* t
- = this->Makefile->FindGeneratorTargetToUse(util))
+ = this->GeneratorTarget->
+ GetLocalGenerator()->FindGeneratorTargetToUse(util))
{
// If we find the target and the dep was given as a full path,
// then make sure it was not a full path to something else, and