Commit b2c884eb authored by Mathieu Malaterre's avatar Mathieu Malaterre
Browse files

ENH: Need more lib to resolve all symbols

parent a24676e2
......@@ -20,16 +20,70 @@ FIND_LIBRARY(FFMPEG_avformat_LIBRARY avformat
/usr/local/lib
/usr/lib
)
FIND_LIBRARY(FFMPEG_avcodec_LIBRARY avcodec
/usr/local/lib
/usr/lib
)
FIND_LIBRARY(FFMPEG_vorbis_LIBRARY vorbis
/usr/local/lib
/usr/lib
)
FIND_LIBRARY(FFMPEG_dc1394_LIBRARY dc1394_control
/usr/local/lib
/usr/lib
)
FIND_LIBRARY(FFMPEG_vorbisenc_LIBRARY vorbisenc
/usr/local/lib
/usr/lib
)
FIND_LIBRARY(FFMPEG_theora_LIBRARY theora
/usr/local/lib
/usr/lib
)
FIND_LIBRARY(FFMPEG_avutil_LIBRARY avutil
/usr/local/lib
/usr/lib
)
FIND_LIBRARY(FFMPEG_dts_LIBRARY dts
/usr/local/lib
/usr/lib
)
FIND_LIBRARY(FFMPEG_gsm_LIBRARY gsm
/usr/local/lib
/usr/lib
)
FIND_LIBRARY(FFMPEG_z_LIBRARY z
/usr/local/lib
/usr/lib
)
IF(FFMPEG_INCLUDE_DIR)
IF(FFMPEG_LIBRARY)
SET( FFMPEG_FOUND "YES" )
SET( FFMPEG_LIBRARIES ${FFMPEG_avcodec_LIBRARY} ${FFMPEG_avformat_LIBRARY} )
ENDIF(FFMPEG_LIBRARY)
IF(FFMPEG_avcodec_LIBRARY)
IF(FFMPEG_avformat_LIBRARY)
SET( FFMPEG_FOUND "YES" )
SET( FFMPEG_LIBRARIES
${FFMPEG_avcodec_LIBRARY}
${FFMPEG_avformat_LIBRARY}
${FFMPEG_vorbis_LIBRARY}
${FFMPEG_dc1394_LIBRARY}
${FFMPEG_vorbisenc_LIBRARY}
${FFMPEG_theora_LIBRARY}
${FFMPEG_avutil_LIBRARY}
${FFMPEG_dts_LIBRARY}
${FFMPEG_gsm_LIBRARY}
${FFMPEG_z_LIBRARY})
ENDIF(FFMPEG_avformat_LIBRARY)
ENDIF(FFMPEG_avcodec_LIBRARY)
ENDIF(FFMPEG_INCLUDE_DIR)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment