mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Don't write a comment in the export file without the code.
This commit is contained in:
@@ -665,6 +665,10 @@ cmExportFileGenerator
|
||||
void cmExportFileGenerator::GenerateMissingTargetsCheckCode(std::ostream& os,
|
||||
const std::vector<std::string>& missingTargets)
|
||||
{
|
||||
if (missingTargets.empty())
|
||||
{
|
||||
return;
|
||||
}
|
||||
os << "# Make sure the targets which have been exported in some other \n"
|
||||
"# export set exist.\n";
|
||||
for(unsigned int i=0; i<missingTargets.size(); ++i)
|
||||
|
||||
Reference in New Issue
Block a user