mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
Continue b665966933 (cmComputeLinkInformation: track OBJECT library
dependencies, 2023-07-22) which added explicitly listed `OBJECT`
libraries to the list of targets which the collator needs to consider.
Now also consider targets which provide objects directly to the target
via a `$<TARGET_OBJECT>` source lists.
Also add tests which use target objects directly and through an
`INTERFACE` library with target objects in its own sources.
Fixes: #25365
12 lines
104 B
Fortran
12 lines
104 B
Fortran
module m1
|
|
|
|
implicit none
|
|
|
|
contains
|
|
|
|
pure real function pi()
|
|
pi = 4*atan(1.)
|
|
end function
|
|
|
|
end module m1
|