mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
Merge topic 'fortran-in-custom-targets'
d870a47e23Tests/FortranModules: add a test for iface Fortran sourcese3d511fb9cTests/FortranModules: also test INTERFACE targets with Fortran sources978b68d3bbadd_custom_target: Fix regression with Fortran sources619aca80aeTests/FortranModules: add a test case for #2522345513c1a69Tests/FortranModules: move issue 25112 fix from FortranOnly Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8814
This commit is contained in:
@@ -544,8 +544,9 @@ bool cmComputeLinkInformation::Compute()
|
||||
this->Target->GetType() == cmStateEnums::SHARED_LIBRARY ||
|
||||
this->Target->GetType() == cmStateEnums::MODULE_LIBRARY ||
|
||||
this->Target->GetType() == cmStateEnums::STATIC_LIBRARY ||
|
||||
this->Target->HaveCxx20ModuleSources() ||
|
||||
this->Target->HaveFortranSources())) {
|
||||
(this->Target->CanCompileSources() &&
|
||||
(this->Target->HaveCxx20ModuleSources() ||
|
||||
this->Target->HaveFortranSources())))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user