export: Allow depending on targets exported multiple times

Fixes: #26556
This commit is contained in:
Martin Duffy
2024-12-26 09:35:19 -05:00
parent 7b553a3b1d
commit c8997fc046
17 changed files with 130 additions and 46 deletions
+3 -3
View File
@@ -79,9 +79,9 @@ protected:
cmGeneratorTarget const* depender,
cmGeneratorTarget* dependee) override;
void ComplainAboutMissingTarget(
cmGeneratorTarget const* depender, cmGeneratorTarget const* dependee,
std::vector<std::string> const& exportFiles) const;
void ComplainAboutMissingTarget(cmGeneratorTarget const* depender,
cmGeneratorTarget const* dependee,
ExportInfo const& exportInfo) const;
void ComplainAboutDuplicateTarget(
std::string const& targetName) const override;