diff options
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2023-02-17 03:21:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-02-17 17:27:37 (GMT) |
commit | 195ee137107083d0704d2d24794a054d8cdee6ce (patch) | |
tree | a58aefcd75ac4e356ae5d536c462e8e9a8842ca2 /Source/cmCxxModuleMapper.cxx | |
parent | f301108f567ff33230252c7e372b875fce0e37d4 (diff) | |
download | CMake-195ee137107083d0704d2d24794a054d8cdee6ce.zip CMake-195ee137107083d0704d2d24794a054d8cdee6ce.tar.gz CMake-195ee137107083d0704d2d24794a054d8cdee6ce.tar.bz2 |
cmCxxModuleMapper: Specify clang's BMI dependency with new form
Diffstat (limited to 'Source/cmCxxModuleMapper.cxx')
-rw-r--r-- | Source/cmCxxModuleMapper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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'; } } |