mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-10-04 22:26:30 +00:00
Do not fail when unable to detect the FFMPEG version, like windows.
This commit is contained in:
parent
d547d0dc60
commit
4f5d697e2b
1 changed files with 4 additions and 4 deletions
|
@ -261,16 +261,16 @@ if(FFmpeg_FOUND)
|
||||||
set(FFVER_OK FALSE)
|
set(FFVER_OK FALSE)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(NOT FFVER_OK AND NOT APPLE) # unable to detect on version on MacOS < 11.0
|
||||||
|
message(FATAL_ERROR "FFmpeg version is too old, 3.2 is required" )
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT FFmpeg_FOUND)
|
if(NOT FFmpeg_FOUND)
|
||||||
message(FATAL_ERROR "FFmpeg was not found" )
|
message(FATAL_ERROR "FFmpeg was not found" )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT FFVER_OK)
|
|
||||||
message(FATAL_ERROR "FFmpeg version is too old, 3.2 is required" )
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
message("Can not detect FFmpeg version, at least the 3.2 is required" )
|
message("Can not detect FFmpeg version, at least the 3.2 is required" )
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue