From d8fe1fcd800e622209fdb84f1302822e8bee5a77 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 13 Jan 2013 09:42:47 +0100 Subject: Only generate one check per missing target. --- Source/cmExportFileGenerator.cxx | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx index 91de200..a2d6961 100644 --- a/Source/cmExportFileGenerator.cxx +++ b/Source/cmExportFileGenerator.cxx @@ -671,19 +671,23 @@ void cmExportFileGenerator::GenerateMissingTargetsCheckCode(std::ostream& os, } os << "# Make sure the targets which have been exported in some other \n" "# export set exist.\n"; + std::set emitted; for(unsigned int i=0; i