mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 02:45:32 +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)
|
||||
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()
|
||||
|
||||
if(NOT FFmpeg_FOUND)
|
||||
message(FATAL_ERROR "FFmpeg was not found" )
|
||||
endif()
|
||||
|
||||
if(NOT FFVER_OK)
|
||||
message(FATAL_ERROR "FFmpeg version is too old, 3.2 is required" )
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
message("Can not detect FFmpeg version, at least the 3.2 is required" )
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue