summaryrefslogtreecommitdiffstats
path: root/Source/cmExportCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-08 14:59:07 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-10-08 14:59:07 (GMT)
commit40c84683aafc9447a0e17d81a71d061efde84bdb (patch)
treef5090d54d217c02c75b92980d61bfdee974c0db5 /Source/cmExportCommand.cxx
parent5a6c15155cbf18de60e118700e3e778f796e213d (diff)
parent904ff9fe592882db5dae88e526db2b380d92f87d (diff)
downloadCMake-40c84683aafc9447a0e17d81a71d061efde84bdb.zip
CMake-40c84683aafc9447a0e17d81a71d061efde84bdb.tar.gz
CMake-40c84683aafc9447a0e17d81a71d061efde84bdb.tar.bz2
Merge topic 'export-policy'
904ff9f export: Add policy CMP0024 to disallow include() of export files
Diffstat (limited to 'Source/cmExportCommand.cxx')
-rw-r--r--Source/cmExportCommand.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmExportCommand.cxx b/Source/cmExportCommand.cxx
index be2ee31..837bb39 100644
--- a/Source/cmExportCommand.cxx
+++ b/Source/cmExportCommand.cxx
@@ -171,6 +171,8 @@ bool cmExportCommand
ebfg.SetCommand(this);
ebfg.SetExportOld(this->ExportOld.IsEnabled());
+ this->Makefile->AddExportedTargetsFile(fname);
+
// Compute the set of configurations exported.
std::vector<std::string> configurationTypes;
this->Makefile->GetConfigurations(configurationTypes);