summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-02-21 18:34:08 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-02-21 18:34:34 (GMT)
commitc66396699bcf3007ce6fe7a1c9735cb18fef4228 (patch)
tree5d554bc5d02b94ff6aea53e1479d48609b3c85d9 /Source/cmGeneratorTarget.cxx
parentd2df2e94e50a003fc635a1913f70ccc784696f15 (diff)
parentec348ee4b9f3dec09851f74226f2b0495bf17d8d (diff)
downloadCMake-c66396699bcf3007ce6fe7a1c9735cb18fef4228.zip
CMake-c66396699bcf3007ce6fe7a1c9735cb18fef4228.tar.gz
CMake-c66396699bcf3007ce6fe7a1c9735cb18fef4228.tar.bz2
Merge topic 'cxxmodules-transitive-modules-usage' into release-3.29
ec348ee4b9 cmGeneratorTarget: discover synthetic targets recursively 67466ddf65 cmExportFileGenerator: export link libraries as-is a2e3e61a31 Tests/CXXModules: test transitive modules usage Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9273
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 28ee442..3913c99 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -8478,6 +8478,7 @@ bool cmGeneratorTarget::DiscoverSyntheticTargets(cmSyntheticTargetCache& cache,
auto gtp = cm::make_unique<cmGeneratorTarget>(tgt, lg);
synthDep = gtp.get();
cache.CxxModuleTargets[targetName] = synthDep;
+ gtp->DiscoverSyntheticTargets(cache, config);
lg->AddGeneratorTarget(std::move(gtp));
} else {
synthDep = cached->second;