|
@@ -8373,6 +8373,10 @@ bool cmGeneratorTarget::DiscoverSyntheticTargets(cmSyntheticTargetCache& cache,
|
|
|
// generation.
|
|
// generation.
|
|
|
tgt->CopyImportedCxxModulesProperties(model);
|
|
tgt->CopyImportedCxxModulesProperties(model);
|
|
|
|
|
|
|
|
|
|
+ tgt->AddLinkLibrary(*mf,
|
|
|
|
|
+ cmStrCat("$<COMPILE_ONLY:", model->GetName(), '>'),
|
|
|
|
|
+ GENERAL_LibraryType);
|
|
|
|
|
+
|
|
|
// Apply usage requirements to the target.
|
|
// Apply usage requirements to the target.
|
|
|
usage.ApplyToTarget(tgt);
|
|
usage.ApplyToTarget(tgt);
|
|
|
|
|
|