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