Skip to content

How to deal with installing static library #15

@LecrisUT

Description

@LecrisUT

If we have a library foo that is built as a static library, then if you try to install it with install(EXPORT) then it fails unless all its dependencies are also installed, even when the target_link_libraries is PRIVATE. The same does not occur if foo is a shared library or an executable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions