mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 10:50:16 -06: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