diff options
author | Brad King <brad.king@kitware.com> | 2013-10-15 13:32:32 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-10-15 13:32:32 (GMT) |
commit | ebffbda4476aae1e89029f2e24fd76a22765205a (patch) | |
tree | b03c5806968dd58a35635de71af9ab2323688b75 /Source/cmExportCommand.cxx | |
parent | 29b1e591152dc56c03ae2b6d6721d5b1c297505a (diff) | |
parent | af1f6987571b6f8298b03e184aa4aad23882d5c8 (diff) | |
download | CMake-ebffbda4476aae1e89029f2e24fd76a22765205a.zip CMake-ebffbda4476aae1e89029f2e24fd76a22765205a.tar.gz CMake-ebffbda4476aae1e89029f2e24fd76a22765205a.tar.bz2 |
Merge topic 'fix-CMP0024-multiple-directories'
af1f698 CMP0024: Store the fact of included export in global generator.
Diffstat (limited to 'Source/cmExportCommand.cxx')
-rw-r--r-- | Source/cmExportCommand.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmExportCommand.cxx b/Source/cmExportCommand.cxx index 422b038..f335b8b 100644 --- a/Source/cmExportCommand.cxx +++ b/Source/cmExportCommand.cxx @@ -172,7 +172,9 @@ bool cmExportCommand ebfg.SetCommand(this); ebfg.SetExportOld(this->ExportOld.IsEnabled()); - this->Makefile->AddExportedTargetsFile(fname); + cmGlobalGenerator *gg = this->Makefile->GetLocalGenerator() + ->GetGlobalGenerator(); + gg->AddExportedTargetsFile(fname); // Compute the set of configurations exported. std::vector<std::string> configurationTypes; |