diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-01-13 08:44:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-01-15 19:36:21 (GMT) |
commit | cfd4f0a4f49da41330f648a665b24cb507829ede (patch) | |
tree | 9bba35620b54fed328d60653435febe7dbba7f6e /Source/cmExportFileGenerator.cxx | |
parent | d8fe1fcd800e622209fdb84f1302822e8bee5a77 (diff) | |
download | CMake-cfd4f0a4f49da41330f648a665b24cb507829ede.zip CMake-cfd4f0a4f49da41330f648a665b24cb507829ede.tar.gz CMake-cfd4f0a4f49da41330f648a665b24cb507829ede.tar.bz2 |
Move the exported check for dependencies of targets
Check only once, in the Config.cmake file, instead of once in each
Config-<cfg>.cmake file.
Diffstat (limited to 'Source/cmExportFileGenerator.cxx')
-rw-r--r-- | Source/cmExportFileGenerator.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx index a2d6961..fc78eeb 100644 --- a/Source/cmExportFileGenerator.cxx +++ b/Source/cmExportFileGenerator.cxx @@ -107,7 +107,8 @@ bool cmExportFileGenerator::GenerateImportFile() //---------------------------------------------------------------------------- void cmExportFileGenerator::GenerateImportConfig(std::ostream& os, - const char* config) + const char* config, + std::vector<std::string> &missingTargets) { // Construct the property configuration suffix. std::string suffix = "_"; @@ -121,7 +122,7 @@ void cmExportFileGenerator::GenerateImportConfig(std::ostream& os, } // Generate the per-config target information. - this->GenerateImportTargetsConfig(os, config, suffix); + this->GenerateImportTargetsConfig(os, config, suffix, missingTargets); } //---------------------------------------------------------------------------- |