2014-10-22 20:11:03 +00:00
|
|
|
set(OGRE_FFMPEG_VIDEOPLAYER_LIBRARY "ogre-ffmpeg-videoplayer")
|
|
|
|
|
|
|
|
# Sources
|
|
|
|
|
|
|
|
set(OGRE_FFMPEG_VIDEOPLAYER_SOURCE_FILES
|
2014-10-24 19:19:17 +00:00
|
|
|
videoplayer.cpp
|
|
|
|
videostate.cpp
|
|
|
|
videodefs.hpp
|
2014-10-22 20:11:03 +00:00
|
|
|
libavwrapper.cpp
|
|
|
|
audiodecoder.cpp
|
2014-10-22 20:41:05 +00:00
|
|
|
audiofactory.hpp
|
2014-10-22 20:11:03 +00:00
|
|
|
)
|
|
|
|
|
2015-06-15 12:16:14 +00:00
|
|
|
include_directories(${FFMPEG_INCLUDE_DIRS})
|
2014-10-22 20:11:03 +00:00
|
|
|
add_library(${OGRE_FFMPEG_VIDEOPLAYER_LIBRARY} STATIC ${OGRE_FFMPEG_VIDEOPLAYER_SOURCE_FILES})
|
2015-06-11 23:45:48 +00:00
|
|
|
target_link_libraries(${OGRE_FFMPEG_VIDEOPLAYER_LIBRARY} ${FFMPEG_LIBRARIES} ${Boost_THREAD_LIBRARY})
|
2014-10-22 20:11:03 +00:00
|
|
|
|
|
|
|
link_directories(${CMAKE_CURRENT_BINARY_DIR})
|