diff --git a/cmake/Options.cmake b/cmake/Options.cmake index edee94d5..c4cd2a75 100644 --- a/cmake/Options.cmake +++ b/cmake/Options.cmake @@ -91,7 +91,7 @@ set(FFMPEG_DEFAULT OFF) set(FFMPEG_COMPONENTS AVCODEC AVFORMAT SWSCALE AVUTIL SWRESAMPLE) set(FFMPEG_COMPONENT_VERSIONS AVCODEC>=58.18.100 AVFORMAT>=58.12.100 SWSCALE>=5.1.100 AVUTIL>=56.14.100 SWRESAMPLE>=3.1.100) -if(NOT TRANSLATIONS_ONLY AND NOT DEFINED ENABLE_FFMPEG OR ENABLE_FFMPEG) +if(NOT TRANSLATIONS_ONLY AND (NOT DEFINED ENABLE_FFMPEG OR ENABLE_FFMPEG) AND (NOT (X86 AND MINGW))) set(FFMPEG_DEFAULT ON) find_package(FFmpeg COMPONENTS ${FFMPEG_COMPONENTS})