diff options
author | Brad King <brad.king@kitware.com> | 2023-02-20 13:30:22 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-02-20 13:30:38 (GMT) |
commit | 1faf907f84386b3121a1c9fb08996767e2c64f76 (patch) | |
tree | a58aefcd75ac4e356ae5d536c462e8e9a8842ca2 /Source | |
parent | d08b1e68fe9b16264824429873ac41e7d83bd505 (diff) | |
parent | 195ee137107083d0704d2d24794a054d8cdee6ce (diff) | |
download | CMake-1faf907f84386b3121a1c9fb08996767e2c64f76.zip CMake-1faf907f84386b3121a1c9fb08996767e2c64f76.tar.gz CMake-1faf907f84386b3121a1c9fb08996767e2c64f76.tar.bz2 |
Merge topic 'cxx-module-mapper-clang' into release-3.26
195ee13710 cmCxxModuleMapper: Specify clang's BMI dependency with new form
Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Acked-by: Alex <leha-bot@yandex.ru>
Merge-request: !8219
Diffstat (limited to 'Source')
-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'; } } |