Explorar el Código

cmGeneratorTarget: discover synthetic targets recursively

Fixes: #25288
Ben Boeckel hace 1 año
padre
commit
ec348ee4b9
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      Source/cmGeneratorTarget.cxx

+ 1 - 0
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;