mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
cmCxxModuleMapper: Specify clang's BMI dependency with new form
This commit is contained in:
@@ -53,7 +53,7 @@ std::string CxxModuleMapContentClang(CxxModuleLocations const& loc,
|
||||
}
|
||||
for (auto const& r : obj.Requires) {
|
||||
if (auto bmi_loc = loc.BmiGeneratorPathForModule(r.LogicalName)) {
|
||||
mm << "-fmodule-file=" << *bmi_loc << '\n';
|
||||
mm << "-fmodule-file=" << r.LogicalName << "=" << *bmi_loc << '\n';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user