|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
set(OGRE_FFMPEG_VIDEOPLAYER_LIBRARY "ogre-ffmpeg-videoplayer")
|
|
|
|
|
set(OSG_FFMPEG_VIDEOPLAYER_LIBRARY "osg-ffmpeg-videoplayer")
|
|
|
|
|
|
|
|
|
|
# Sources
|
|
|
|
|
|
|
|
|
|
set(OGRE_FFMPEG_VIDEOPLAYER_SOURCE_FILES
|
|
|
|
|
set(OSG_FFMPEG_VIDEOPLAYER_SOURCE_FILES
|
|
|
|
|
videoplayer.cpp
|
|
|
|
|
videostate.cpp
|
|
|
|
|
videodefs.hpp
|
|
|
|
@ -36,7 +36,7 @@ set(BOOST_COMPONENTS thread)
|
|
|
|
|
find_package(Boost REQUIRED COMPONENTS ${BOOST_COMPONENTS})
|
|
|
|
|
include_directories(${Boost_INCLUDE_DIRS})
|
|
|
|
|
|
|
|
|
|
add_library(${OGRE_FFMPEG_VIDEOPLAYER_LIBRARY} STATIC ${OGRE_FFMPEG_VIDEOPLAYER_SOURCE_FILES})
|
|
|
|
|
target_link_libraries(${OGRE_FFMPEG_VIDEOPLAYER_LIBRARY} ${VIDEO_FFMPEG_LIBRARIES} ${Boost_LIBRARIES})
|
|
|
|
|
add_library(${OSG_FFMPEG_VIDEOPLAYER_LIBRARY} STATIC ${OSG_FFMPEG_VIDEOPLAYER_SOURCE_FILES})
|
|
|
|
|
target_link_libraries(${OSG_FFMPEG_VIDEOPLAYER_LIBRARY} ${VIDEO_FFMPEG_LIBRARIES} ${Boost_LIBRARIES})
|
|
|
|
|
|
|
|
|
|
link_directories(${CMAKE_CURRENT_BINARY_DIR})
|