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.
When building in non-separate mode, the output name is modified:
cineform-sdk/CMakeLists.txt
Line 61 in 11574d0
cineform-sdk/CMakeLists.txt
Line 82 in 11574d0
But the install name passed to the pkgconfig file is the target name:
cineform-sdk/CMakeLists.txt
Line 139 in 11574d0
This makes the pkgconfig file try to link to
CFHDCodecStaticorCFHDCodecSharedwhen the actual lib file name isCFHDCodec.