Skip to content

Commit

Permalink
Merge branch 'ffmpeg-fix' into 'master'
Browse files Browse the repository at this point in the history
Don't try to detect correct ffmpeg version for android

See merge request OpenMW/openmw!4223
  • Loading branch information
psi29a committed Jul 2, 2024
2 parents 81e59bb + 06b0f6b commit 7d88474
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ find_package(FFmpeg REQUIRED COMPONENTS AVCODEC AVFORMAT AVUTIL SWSCALE SWRESAMP
if(FFmpeg_FOUND)
SET(FFVER_OK TRUE)

# Can not detect FFmpeg version on Windows for now
if (NOT WIN32)
# Can not detect FFmpeg version on Windows or Android for now
if (NOT WIN32 AND NOT ANDROID)
if(FFmpeg_AVFORMAT_VERSION VERSION_LESS "57.56.100")
message(STATUS "libavformat is too old! (${FFmpeg_AVFORMAT_VERSION}, wanted 57.56.100)")
set(FFVER_OK FALSE)
Expand Down

0 comments on commit 7d88474

Please sign in to comment.