summaryrefslogtreecommitdiffstats
path: root/Source/cmTestGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-10-06 16:30:43 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-07-27 19:59:02 (GMT)
commitec38e4c84faa276e664f950b417a71c3901485f6 (patch)
tree7d7a85fcee40d9f950344f07ea4af5480a05e213 /Source/cmTestGenerator.cxx
parentdfb025bf126080f6bb209f6f40ff909c4f5c5c97 (diff)
downloadCMake-ec38e4c84faa276e664f950b417a71c3901485f6.zip
CMake-ec38e4c84faa276e664f950b417a71c3901485f6.tar.gz
CMake-ec38e4c84faa276e664f950b417a71c3901485f6.tar.bz2
Move GetFullPath to cmGeneratorTarget
Diffstat (limited to 'Source/cmTestGenerator.cxx')
-rw-r--r--Source/cmTestGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTestGenerator.cxx b/Source/cmTestGenerator.cxx
index 65d3b6a..1815ade 100644
--- a/Source/cmTestGenerator.cxx
+++ b/Source/cmTestGenerator.cxx
@@ -82,7 +82,7 @@ void cmTestGenerator::GenerateScriptForConfig(std::ostream& os,
// be translated.
std::string exe = command[0];
cmMakefile* mf = this->Test->GetMakefile();
- cmTarget* target = mf->FindTargetToUse(exe);
+ cmGeneratorTarget* target = mf->FindGeneratorTargetToUse(exe);
if(target && target->GetType() == cmTarget::EXECUTABLE)
{
// Use the target file on disk.