InsightSoftwareConsortium / InsightSoftwareConsortium/ITK
Fix dependency load order to be able to use CMake targets in ITK
Open
status:Use_Milestone_Backlog
type:Design
type:Enhancement
type:Infrastructure
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 748
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 64
Description
related to behavior in: https://github.com/google/double-conversion/issues/100#issuecomment-494043678
related to behavior observed in VTK https://gitlab.kitware.com/vtk/vtk/issues/17616
I believe you use a similar module load mechanic like VTK. The reason why you are not simply able to use targets is because the module load order is not correctly setup. Please fix/sort the load order correctly and use proper CMake targets instead of "hacks" to archive library linkage.
Contributor guide
Assessment
This issue has not been assessed yet.