mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-28 00:15:06 +00:00
18 lines
500 B
CMake
18 lines
500 B
CMake
set(OSG_FFMPEG_VIDEOPLAYER_LIBRARY "osg-ffmpeg-videoplayer")
|
|
|
|
# Sources
|
|
|
|
set(OSG_FFMPEG_VIDEOPLAYER_SOURCE_FILES
|
|
videoplayer.cpp
|
|
videostate.cpp
|
|
videodefs.hpp
|
|
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} ${Boost_THREAD_LIBRARY})
|
|
|
|
link_directories(${CMAKE_CURRENT_BINARY_DIR})
|