export: Fix exporting targets with multiple file sets

Reported-By: Eugene Shalygin <eugene.shalygin@gmail.com>
Fixes: #27412
This commit is contained in:
Vito Gamberini
2025-11-25 12:47:24 -05:00
parent 7287032be2
commit 63fc96d856
2 changed files with 4 additions and 5 deletions
@@ -209,7 +209,6 @@ std::string cmExportBuildCMakeConfigGenerator::GetFileSetDirectories(
cmStrCat("\"$<$<CONFIG:", config, ">:", dest, ">\""));
} else {
resultVector.emplace_back(cmStrCat('"', dest, '"'));
break;
}
}
}