mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-31 03:15:32 +00:00
19 lines
497 B
CMake
19 lines
497 B
CMake
set(OGRE_FFMPEG_VIDEOPLAYER_LIBRARY "ogre-ffmpeg-videoplayer")
|
|
|
|
# Sources
|
|
|
|
set(OGRE_FFMPEG_VIDEOPLAYER_SOURCE_FILES
|
|
videoplayer.cpp
|
|
videostate.cpp
|
|
videodefs.hpp
|
|
libavwrapper.cpp
|
|
audiodecoder.cpp
|
|
audiofactory.hpp
|
|
)
|
|
|
|
# Find Boost
|
|
|
|
add_library(${OGRE_FFMPEG_VIDEOPLAYER_LIBRARY} STATIC ${OGRE_FFMPEG_VIDEOPLAYER_SOURCE_FILES})
|
|
target_link_libraries(${OGRE_FFMPEG_VIDEOPLAYER_LIBRARY} ${FFMPEG_LIBRARIES} ${Boost_THREAD_LIBRARY})
|
|
|
|
link_directories(${CMAKE_CURRENT_BINARY_DIR})
|