Skip to content

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

@eyalroz

Description

@eyalroz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:BugInconsistencies or issues which will cause an incorrect result under some or all circumstances

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions