diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-09-16 03:21:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-10-14 17:32:09 (GMT) |
commit | 2293d43d00ddcff86c70f0b06014223f3b01e36c (patch) | |
tree | a5a581e0637bd509f0802f979745bcc4678f4c31 /Source/cmTestGenerator.cxx | |
parent | 488723f5cd9bec3f7b35b26c89ce2d92ad7d4db4 (diff) | |
download | CMake-2293d43d00ddcff86c70f0b06014223f3b01e36c.zip CMake-2293d43d00ddcff86c70f0b06014223f3b01e36c.tar.gz CMake-2293d43d00ddcff86c70f0b06014223f3b01e36c.tar.bz2 |
cmLocalGenerator: Store cmGeneratorTargets.
Relieve cmMakefile of this responsibility.
Diffstat (limited to 'Source/cmTestGenerator.cxx')
-rw-r--r-- | Source/cmTestGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTestGenerator.cxx b/Source/cmTestGenerator.cxx index 7dec50b..85fb405 100644 --- a/Source/cmTestGenerator.cxx +++ b/Source/cmTestGenerator.cxx @@ -89,7 +89,7 @@ void cmTestGenerator::GenerateScriptForConfig(std::ostream& os, // be translated. std::string exe = command[0]; cmGeneratorTarget* target = - this->LG->GetMakefile()->FindGeneratorTargetToUse(exe); + this->LG->FindGeneratorTargetToUse(exe); if(target && target->GetType() == cmTarget::EXECUTABLE) { // Use the target file on disk. |