summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2024-05-02 02:09:43 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2024-05-02 02:09:43 (GMT)
commit1fba6d32333f6755760a79f44d26f453b3c0e6a0 (patch)
treefa5bcd275c0f4e1b175c58eee44d9a38812c74ec /Source
parent9fd37ca65e59d61ea04ab93c32c189701030f19d (diff)
parentec35251510ac92c48a2763d8b063cae40fe1f237 (diff)
downloadCMake-1fba6d32333f6755760a79f44d26f453b3c0e6a0.zip
CMake-1fba6d32333f6755760a79f44d26f453b3c0e6a0.tar.gz
CMake-1fba6d32333f6755760a79f44d26f453b3c0e6a0.tar.bz2
Merge branch 'cxxmodules-build-export-different-directory-3.28' into cxxmodules-build-export-different-directory
* cxxmodules-build-export-different-directory-3.28: cmDyndepCollation: look at all `export(TARGETS)` calls
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);