cineform-sdk icon indicating copy to clipboard operation
cineform-sdk copied to clipboard

pkgconfig file links to wrong name

Open maxime-modulopi opened this issue 6 months ago • 0 comments

When building in non-separate mode, the output name is modified: https://github.com/gopro/cineform-sdk/blob/11574d0295771edccadd17af14af74a539f924c7/CMakeLists.txt#L61 https://github.com/gopro/cineform-sdk/blob/11574d0295771edccadd17af14af74a539f924c7/CMakeLists.txt#L82

But the install name passed to the pkgconfig file is the target name: https://github.com/gopro/cineform-sdk/blob/11574d0295771edccadd17af14af74a539f924c7/CMakeLists.txt#L139

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

maxime-modulopi avatar Aug 06 '25 11:08 maxime-modulopi