From 195ee137107083d0704d2d24794a054d8cdee6ce Mon Sep 17 00:00:00 2001 From: Chuanqi Xu Date: Fri, 17 Feb 2023 11:21:44 +0800 Subject: cmCxxModuleMapper: Specify clang's BMI dependency with new form --- Source/cmCxxModuleMapper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmCxxModuleMapper.cxx b/Source/cmCxxModuleMapper.cxx index cb37f2b..7952dfc 100644 --- a/Source/cmCxxModuleMapper.cxx +++ b/Source/cmCxxModuleMapper.cxx @@ -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'; } } -- cgit v0.12