mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-29 02:20:17 -06:00
Since commit 74b1d6caf3 (cmComputeLinkInformation: compute link info for
module-using targets, 2023-09-05, v3.27.5~7^2) we accidentally try to
compute link information for custom targets if they have Fortran
sources. For module dependencies, we only need to consider target types
that can compile.
Fixes: #25252
12 lines
99 B
Fortran
12 lines
99 B
Fortran
module lib
|
|
|
|
implicit none
|
|
|
|
contains
|
|
|
|
pure real function func()
|
|
func = 1.0
|
|
end function
|
|
|
|
end module
|