summaryrefslogtreecommitdiff
path: root/Source/cmExportCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-09-16 22:08:22 +0200
committerBrad King <brad.king@kitware.com>2015-10-14 13:32:09 -0400
commit488723f5cd9bec3f7b35b26c89ce2d92ad7d4db4 (patch)
tree9d4abfce9ebe0608ade61c5dab3364d89b899508 /Source/cmExportCommand.cxx
parent1583440509a148d216d6691cdaeede1aa24af95c (diff)
downloadcmake-488723f5cd9bec3f7b35b26c89ce2d92ad7d4db4.tar.gz
cmMakefile: Store container of cmExportBuildFileGenerators.
Set a cmLocalGenerator on each instance at compute time. That will soon be needed to access cmGeneratorTarget instances. If a cmExportBuildFileGenerator is processed early during configure time as a result of CMP0024 it must be removed from the list to process later at generate time.
Diffstat (limited to 'Source/cmExportCommand.cxx')
-rw-r--r--Source/cmExportCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExportCommand.cxx b/Source/cmExportCommand.cxx
index 6a1d7f34db..c2d9cc4aa0 100644
--- a/Source/cmExportCommand.cxx
+++ b/Source/cmExportCommand.cxx
@@ -221,7 +221,7 @@ bool cmExportCommand
{
ebfg->SetTargets(targets);
}
- ebfg->SetMakefile(this->Makefile);
+ this->Makefile->AddExportBuildFileGenerator(ebfg);
ebfg->SetExportOld(this->ExportOld.IsEnabled());
// Compute the set of configurations exported.