Commit c1715d9
committed
BUG: Restore eigen_internal export to ITK's main targets set (#6239)
Commit 64ddc66 (Eigen 5.0.1 vendored update, 2026-05-01) silently
moved eigen_internal out of ITK's main `${ITK3P_INSTALL_EXPORT_NAME}`
export set into a standalone `ITKInternalEigen3Targets`. Because
`ITKConfig.cmake` only loads `ITKTargets.cmake`, downstream
`find_package(ITK)` could no longer resolve `eigen_internal` and any
consumer using FetchContent with `FIND_PACKAGE_ARGS` (SimpleITK's
pattern) hit a target-collision cascade as CMake fell back to
`add_subdirectory`.
Re-add the install rule that registers `eigen_internal` in
`${ITK3P_INSTALL_EXPORT_NAME}` while keeping the existing standalone
`ITKInternalEigen3Targets` install for `find_package(ITKInternalEigen3)`
consumers. Both export sets now reference the same target.
Issue: #62391 parent 7820bbc commit c1715d9
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
965 | 965 | | |
966 | 966 | | |
967 | 967 | | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
968 | 974 | | |
969 | 975 | | |
970 | 976 | | |
| |||
0 commit comments