summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
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);