root/OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/CMakeLists.txt @ 9818

Revision 9818, 1.0 kB (checked in by robert, 6 years ago)

Tweaks to handle more modern version of ffmpeg compiled form source.

RevLine 
[9818]1# INCLUDE_DIRECTORIES( ${FFMPEG_INCLUDE_DIRS} )
[9816]2
[9818]3INCLUDE_DIRECTORIES(
4    ${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS} ${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS}/libavformat
5    ${FFMPEG_LIBAVDEVICE_INCLUDE_DIRS} ${FFMPEG_LIBAVDEVICE_INCLUDE_DIRS}/libavdevice
6    ${FFMPEG_LIBAVCODEC_INCLUDE_DIRS} ${FFMPEG_LIBAVCODEC_INCLUDE_DIRS}/libavcodec
7    ${FFMPEG_LIBAVUTIL_INCLUDE_DIRS} ${FFMPEG_LIBAVUTIL_INCLUDE_DIRS}/libavcodec
8)
9
10MESSAGE("FFMPEG_INCLUDE_DIRS = "  ${FFMPEG_INCLUDE_DIRS} )
11MESSAGE("FFMPEG_LIBRARIES = "  ${FFMPEG_LIBRARIES} )
12
[9816]13SET(TARGET_SRC
14    FFmpegClocks.cpp
15    FFmpegDecoderAudio.cpp
16    FFmpegDecoder.cpp
17    FFmpegDecoderVideo.cpp
18    FFmpegImageStream.cpp
19    ReaderWriterFFmpeg.cpp
20)
21
22SET(TARGET_H
23    AudioSinkInterface.hpp
24    BoundedMessageQueue.hpp
25    FFmpegClocks.hpp
26    FFmpegDecoderAudio.hpp
27    FFmpegDecoder.hpp
28    FFmpegDecoderVideo.hpp
29    FFmpegHeaders.hpp
30    FFmpegPacket.hpp
31    MessageQueue.hpp
32)
33
34SET(TARGET_EXTERNAL_LIBRARIES ${FFMPEG_LIBRARIES} )
35
36
37#### end var setup  ###
38SETUP_PLUGIN(ffmpeg)
Note: See TracBrowser for help on using the browser.