summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-05-03 13:23:18 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-05-03 13:23:35 (GMT)
commit74a07abcc6d0659f2a912128c385c2ea5cf83bf7 (patch)
tree6b15e89d7283bbcde3a49f1f4604337a515235d7 /Source
parent6807c608e6addbb240b6015ae11ec3f532b86349 (diff)
parent1fba6d32333f6755760a79f44d26f453b3c0e6a0 (diff)
downloadCMake-74a07abcc6d0659f2a912128c385c2ea5cf83bf7.zip
CMake-74a07abcc6d0659f2a912128c385c2ea5cf83bf7.tar.gz
CMake-74a07abcc6d0659f2a912128c385c2ea5cf83bf7.tar.bz2
Merge topic 'cxxmodules-build-export-different-directory' into release-3.29
1fba6d3233 Merge branch 'cxxmodules-build-export-different-directory-3.28' into cxxmodules-build-export-different-directory ec35251510 cmDyndepCollation: look at all `export(TARGETS)` calls Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9485
Diffstat (limited to 'Source')
-rw-r--r--Source/cmDyndepCollation.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmDyndepCollation.cxx b/Source/cmDyndepCollation.cxx
index e7ec7ef..bfe3a75 100644
--- a/Source/cmDyndepCollation.cxx
+++ b/Source/cmDyndepCollation.cxx
@@ -243,8 +243,10 @@ Json::Value CollationInformationExports(cmGeneratorTarget const* gt)
}
}
- auto const& all_build_exports = gt->Makefile->GetExportBuildFileGenerators();
- for (auto const& exp : all_build_exports) {
+ auto const& all_build_exports =
+ gt->GetGlobalGenerator()->GetBuildExportSets();
+ for (auto const& exp_entry : all_build_exports) {
+ auto const* exp = exp_entry.second;
std::vector<cmExportBuildFileGenerator::TargetExport> targets;
exp->GetTargets(targets);