Commit f154b2d0 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

always build ffmpeg_opencv as a shared lib (ticket #687)

parent af2af3af
......@@ -14,7 +14,7 @@ include_directories(
link_directories("${CMAKE_SOURCE_DIR}/3rdparty/lib")
set(the_target opencv_ffmpeg)
add_library(${the_target} ffopencv.cpp ffopencv.h)
add_library(${the_target} SHARED ffopencv.cpp ffopencv.h)
add_dependencies(${the_target} opencv_core)
target_link_libraries(${the_target} opencv_core)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment