summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-28 16:31:23 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-29 14:43:33 (GMT)
commit610572b7d27e122ebf8e5c5d430019844567a996 (patch)
treebdf72b027421b13749a3fe0df26abacf6886b3b1 /Source/cmQtAutoGenerators.cxx
parent2e94cba3565105aaa23720d9ffdcb9fe1ccee6b9 (diff)
downloadCMake-610572b7d27e122ebf8e5c5d430019844567a996.zip
CMake-610572b7d27e122ebf8e5c5d430019844567a996.tar.gz
CMake-610572b7d27e122ebf8e5c5d430019844567a996.tar.bz2
cmMakefile: Simplify generate-time cmGeneratorTarget creation.
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r--Source/cmQtAutoGenerators.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index 979db91..1322dea 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -476,7 +476,6 @@ bool cmQtAutoGenerators::InitializeAutogenTarget(cmLocalGenerator* lg,
commandLines, false, autogenComment.c_str());
cmGeneratorTarget* gt = new cmGeneratorTarget(autogenTarget, lg);
- lg->GetGlobalGenerator()->AddGeneratorTarget(autogenTarget, gt);
makefile->AddGeneratorTarget(autogenTarget, gt);
// Set target folder