Sfoglia il codice sorgente

cmDyndepCollation: record required modules to the build database

Ben Boeckel 1 anno fa
parent
commit
d02ca76184
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      Source/cmDyndepCollation.cxx

+ 3 - 0
Source/cmDyndepCollation.cxx

@@ -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));