mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-22 11:23:52 +00:00
f70250a296
Conflicts: apps/launcher/CMakeLists.txt apps/opencs/CMakeLists.txt apps/opencs/view/render/worldspacewidget.cpp apps/openmw/CMakeLists.txt components/CMakeLists.txt extern/osg-ffmpeg-videoplayer/CMakeLists.txt
17 lines
477 B
CMake
17 lines
477 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
|
|
)
|
|
|
|
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})
|