diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2024-02-20 13:00:41 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2024-02-20 15:53:31 (GMT) |
commit | ec348ee4b9f3dec09851f74226f2b0495bf17d8d (patch) | |
tree | ea60f28153c8eb596f08733654e80b699a3e084b | |
parent | 67466ddf65aafa02a19225b306bd712c2be3fb7f (diff) | |
download | CMake-ec348ee4b9f3dec09851f74226f2b0495bf17d8d.zip CMake-ec348ee4b9f3dec09851f74226f2b0495bf17d8d.tar.gz CMake-ec348ee4b9f3dec09851f74226f2b0495bf17d8d.tar.bz2 |
cmGeneratorTarget: discover synthetic targets recursively
Fixes: #25288
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 3cfa5a9..40711a3 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -8380,6 +8380,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; |