fixed static build of gpu module with ffmpeg:

multiple definition of cap_ffmpeg_impl.hpp functions in gpu and highgui
This commit is contained in:
Vladislav Vinogradov 2012-11-08 15:49:56 +04:00
parent beb377b38c
commit bff818afbd

View File

@ -44,7 +44,7 @@
#if defined(HAVE_CUDA) && !defined(__APPLE__)
#ifdef HAVE_FFMPEG
#if defined(HAVE_FFMPEG) && defined(BUILD_SHARED_LIBS)
#include "cap_ffmpeg_impl.hpp"
#else
#include "cap_ffmpeg_api.hpp"