diff --git a/CMakeLists.txt b/CMakeLists.txt index 930e48c787..641594b00c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -255,8 +255,8 @@ OCV_OPTION(WITH_EIGEN "Include Eigen2/Eigen3 support" (NOT CV_DISABLE_OPTIMIZATI OCV_OPTION(WITH_VFW "Include Video for Windows support (deprecated, consider using MSMF)" OFF VISIBLE_IF WIN32 VERIFY HAVE_VFW) -OCV_OPTION(WITH_FFMPEG "Include FFMPEG support" ON - VISIBLE_IF NOT ANDROID AND NOT IOS AND NOT WINRT +OCV_OPTION(WITH_FFMPEG "Include FFMPEG support" (NOT ANDROID) + VISIBLE_IF NOT IOS AND NOT WINRT VERIFY HAVE_FFMPEG) OCV_OPTION(WITH_GSTREAMER "Include Gstreamer support" ON VISIBLE_IF NOT ANDROID AND NOT IOS AND NOT WINRT