summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-09-20 15:00:58 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-09-26 17:32:53 (GMT)
commitc3c20d3ce3acbf6afd6a54dd846fd78b82623312 (patch)
treeb58f670fa7ec2b9630b29d55b63f496c19decf2a /Source/cmGlobalGenerator.cxx
parent8b6ec29d4096b4ea59ef502360845e25a9bcb47e (diff)
downloadCMake-c3c20d3ce3acbf6afd6a54dd846fd78b82623312.zip
CMake-c3c20d3ce3acbf6afd6a54dd846fd78b82623312.tar.gz
CMake-c3c20d3ce3acbf6afd6a54dd846fd78b82623312.tar.bz2
QtAutogen: Add _automoc.cpp sources before initializing.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 435b769..6627bcc 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -1456,6 +1456,7 @@ void cmGlobalGenerator::CreateQtAutoGeneratorsTargets(AutogensType &autogens)
cmTarget& target = *this->LocalGenerators[i]
->GetMakefile()->FindTarget(*ti, true);
+ cmQtAutoGenerators::InitializeAutogenSources(&target);
cmQtAutoGenerators::InitializeAutogenTarget(
this->LocalGenerators[i], &target);
cmQtAutoGenerators autogen;