1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-07-06 21:51:35 +00:00
openmw-tes3mp/extern/osg-ffmpeg-videoplayer/CMakeLists.txt
scrawl b2a1c940b0 Replace boost threading with c++11
Mostly straightforward port, some refactoring was needed in StreamThread to workaround thread::interrupt not being available.
2015-07-10 17:14:07 +02:00

18 lines
497 B
CMake

set(OSG_FFMPEG_VIDEOPLAYER_LIBRARY "osg-ffmpeg-videoplayer")
# Sources
set(OSG_FFMPEG_VIDEOPLAYER_SOURCE_FILES
videoplayer.cpp
videostate.cpp
videodefs.hpp
libavwrapper.cpp
audiodecoder.cpp
audiofactory.hpp
)
include_directories(${FFMPEG_INCLUDE_DIRS})
add_library(${OSG_FFMPEG_VIDEOPLAYER_LIBRARY} STATIC ${OSG_FFMPEG_VIDEOPLAYER_SOURCE_FILES})
target_link_libraries(${OSG_FFMPEG_VIDEOPLAYER_LIBRARY} ${FFMPEG_LIBRARIES})
link_directories(${CMAKE_CURRENT_BINARY_DIR})