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

pull/13383/head
Vadim Pisarevsky 14 years ago
parent af2af3af9b
commit f154b2d0d7
  1. 2
      modules/ffmpeg/CMakeLists.txt

@ -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)

Loading…
Cancel
Save