xSTUDIO is a modern, high performance and feature rich playback and review application designed for organisations and individuals in the post production, VFX and Animation industries.
Apache License 2.0
639
stars
83
forks
source link
FindFFMPEG: Support linking against static FFMPEG libraries on Linux #64
Update FindFFMPEG module to facilitate linking against static FFMPEG libraries on Linux.
The changes do the following (currently only for static FFMPEG libraries):
Add the -Wl,-Bsymbolic flag to each imported target's INTERFACE_LINK_OPTIONS.
Using pkg-config to look up the transitive dependencies of each imported target, and including them in the target's INTERFACE_LINK_LIBRARIES, as well as populating INTERFACE_LINK_DIRECTORIES.
The second step could potentially be done for both static and dynamic FFMPEG libraries, but I kept the scope of this narrow to start with.
Update
FindFFMPEG
module to facilitate linking against static FFMPEG libraries on Linux.The changes do the following (currently only for static FFMPEG libraries):
-Wl,-Bsymbolic
flag to each imported target'sINTERFACE_LINK_OPTIONS
.pkg-config
to look up the transitive dependencies of each imported target, and including them in the target'sINTERFACE_LINK_LIBRARIES
, as well as populatingINTERFACE_LINK_DIRECTORIES
.The second step could potentially be done for both static and dynamic FFMPEG libraries, but I kept the scope of this narrow to start with.
Fixes #60.