InsightSoftwareConsortium / InsightSoftwareConsortium/ITK

When building with the bundled HDF5 - its targets are exported (when they shouldn't be)

Open
#5,755 4 comments 1 reaction 0 assignees View on GitHub
type:Bug
Dominant language
C++
Stars
1.7k
Forks
748
Avg merge
1d 1h
Merged PRs (30d)
64

Description

If I build ITK with the built-in, rather than a system, HDF5, then `cmake --install` it - the resulting config file(s) contain HDF5 targets. It can easily cause a build of another project, which `find_package()`'s both ITK and HDF5 independently of ITK, to have clashes. I doubt this is intentional (although - correct me if I'm wrong).

This might also be happening with other bundled libraries. I haven't checked.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.