mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
cmDyndepCollation: record required modules to the build database
This commit is contained in:
@@ -644,6 +644,9 @@ bool cmDyndepCollation::WriteDyndepMetadata(
|
|||||||
result = false;
|
result = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
for (auto const& req : object.Requires) {
|
||||||
|
bdb_entry->second->Requires.push_back(req.LogicalName);
|
||||||
|
}
|
||||||
} else if (export_info.DatabaseInfo) {
|
} else if (export_info.DatabaseInfo) {
|
||||||
cmSystemTools::Error(cmStrCat(
|
cmSystemTools::Error(cmStrCat(
|
||||||
"Failed to find module database entry for ", file_set.SourcePath));
|
"Failed to find module database entry for ", file_set.SourcePath));
|
||||||
|
|||||||
Reference in New Issue
Block a user