|
|
@@ -553,7 +553,8 @@ bool cmComputeLinkInformation::Compute()
|
|
|
this->Target->GetType() == cmStateEnums::MODULE_LIBRARY ||
|
|
|
this->Target->GetType() == cmStateEnums::STATIC_LIBRARY ||
|
|
|
(this->Target->CanCompileSources() &&
|
|
|
- (this->Target->HaveCxx20ModuleSources() ||
|
|
|
+ (this->Target->HaveCxxModuleSupport(this->Config) ==
|
|
|
+ cmGeneratorTarget::Cxx20SupportLevel::Supported ||
|
|
|
this->Target->HaveFortranSources())))) {
|
|
|
return false;
|
|
|
}
|