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

This commit is contained in:
Vadim Pisarevsky 2011-05-31 14:35:00 +00:00
parent af2af3af9b
commit f154b2d0d7

View File

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