summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-02-20 13:30:22 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-02-20 13:30:39 (GMT)
commitd5cba69f78879c358a07b89c01c688a20cb17e54 (patch)
tree10f04e5f6739be9287df44b28b8068b0b060ce59
parent9fc1ce97a83ead054f58eb0dca2e639acee5b6ad (diff)
parent195ee137107083d0704d2d24794a054d8cdee6ce (diff)
downloadCMake-d5cba69f78879c358a07b89c01c688a20cb17e54.zip
CMake-d5cba69f78879c358a07b89c01c688a20cb17e54.tar.gz
CMake-d5cba69f78879c358a07b89c01c688a20cb17e54.tar.bz2
Merge topic 'cxx-module-mapper-clang'
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
-rw-r--r--Source/cmCxxModuleMapper.cxx2
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';
}
}