ffmpeg: move the whole tree into externals/ffmpeg/ffmpeg ...

* this resolves the todo items in the CMakeLists.txt
* a version requirement check for ffmpeg is added to catch issues early
* for future-proof reasons, nasm/yasm is now only required when build on
  x86/AMD64 systems
This commit is contained in:
liushuyu 2021-12-10 21:26:43 -07:00
parent 3053eef433
commit 3f9ff5ca17
6 changed files with 218 additions and 217 deletions

View file

@ -121,3 +121,8 @@ if (NOT opus_FOUND)
message(STATUS "opus 1.3 or newer not found, falling back to externals")
add_subdirectory(opus EXCLUDE_FROM_ALL)
endif()
# FFMpeg
if (YUZU_USE_BUNDLED_FFMPEG)
add_subdirectory(ffmpeg)
endif()