summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGeneratorInitializer.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-18 14:40:56 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-20 21:58:49 (GMT)
commit04b6bb167636ccf2fe565239a44249366ee1e452 (patch)
tree754d7cd880c859884b91b84865818edf26f49202 /Source/cmQtAutoGeneratorInitializer.cxx
parent400e3d19fcebf7d6e9551d585d60754bd937c28c (diff)
downloadCMake-04b6bb167636ccf2fe565239a44249366ee1e452.zip
CMake-04b6bb167636ccf2fe565239a44249366ee1e452.tar.gz
CMake-04b6bb167636ccf2fe565239a44249366ee1e452.tar.bz2
cmLocalGenerator: Simplify semantic of adding generator targets.
Don't store on the global generator as a side effect. Update clients to adapt.
Diffstat (limited to 'Source/cmQtAutoGeneratorInitializer.cxx')
-rw-r--r--Source/cmQtAutoGeneratorInitializer.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmQtAutoGeneratorInitializer.cxx b/Source/cmQtAutoGeneratorInitializer.cxx
index 386d430..16b8942 100644
--- a/Source/cmQtAutoGeneratorInitializer.cxx
+++ b/Source/cmQtAutoGeneratorInitializer.cxx
@@ -896,6 +896,7 @@ void cmQtAutoGeneratorInitializer::InitializeAutogenTarget(
cmGeneratorTarget* gt = new cmGeneratorTarget(autogenTarget, lg);
lg->AddGeneratorTarget(autogenTarget, gt);
+ lg->GetGlobalGenerator()->AddGeneratorTarget(autogenTarget, gt);
// Set target folder
const char* autogenFolder = makefile->GetState()