diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-10-06 15:16:11 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-10-10 14:36:26 (GMT) |
commit | 5fe5c32480a5acf26bd20e52a091cd63747ed77d (patch) | |
tree | 748ebca1ae42657e8ccea1910a8457200fb9969b /Source/cmExportCommand.cxx | |
parent | e383555838c2539eca11c43abfccba9fa41ca97d (diff) | |
download | CMake-5fe5c32480a5acf26bd20e52a091cd63747ed77d.zip CMake-5fe5c32480a5acf26bd20e52a091cd63747ed77d.tar.gz CMake-5fe5c32480a5acf26bd20e52a091cd63747ed77d.tar.bz2 |
export(): Set a Makefile on the cmExportBuildFileGenerator.
This is better than the cmCommand, because the lifetime of that is
not as useful, and it is only used to report an error anyway.
In the next commit, the cmExportBuildFileGenerator will outlive the
cmCommand.
Diffstat (limited to 'Source/cmExportCommand.cxx')
-rw-r--r-- | Source/cmExportCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExportCommand.cxx b/Source/cmExportCommand.cxx index f335b8b..9d0d478 100644 --- a/Source/cmExportCommand.cxx +++ b/Source/cmExportCommand.cxx @@ -169,7 +169,7 @@ bool cmExportCommand ebfg.SetNamespace(this->Namespace.GetCString()); ebfg.SetAppendMode(this->Append.IsEnabled()); ebfg.SetExports(&targets); - ebfg.SetCommand(this); + ebfg.SetMakefile(this->Makefile); ebfg.SetExportOld(this->ExportOld.IsEnabled()); cmGlobalGenerator *gg = this->Makefile->GetLocalGenerator() |