Skip to content

pkgconfig file links to wrong name #57

@maxime-modulopi

Description

@maxime-modulopi

When building in non-separate mode, the output name is modified:

set_target_properties(CFHDCodecStatic PROPERTIES OUTPUT_NAME CFHDCodec)

set_target_properties(CFHDCodecShared PROPERTIES OUTPUT_NAME CFHDCodec)

But the install name passed to the pkgconfig file is the target name:

set(LIB_INSTALL_NAMES ${LIB_INSTALL_NAMES} -l${TARGET_NAME})

This makes the pkgconfig file try to link to CFHDCodecStatic or CFHDCodecShared when the actual lib file name is CFHDCodec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions