cineform-sdk
cineform-sdk copied to clipboard
pkgconfig file links to wrong name
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.