diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2022-12-01 06:49:58 +0100 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2022-12-01 06:49:58 +0100 |
commit | 5ff19890e9d2a07d1c0246f3807cdefcb36aca7d (patch) | |
tree | a2b9a1a13deb277c2847e069dd6e56d81b747df2 /CMakeLists.txt | |
parent | Merge pull request #9366 from zhaobot/tx-update-20221201025957 (diff) | |
download | yuzu-5ff19890e9d2a07d1c0246f3807cdefcb36aca7d.tar yuzu-5ff19890e9d2a07d1c0246f3807cdefcb36aca7d.tar.gz yuzu-5ff19890e9d2a07d1c0246f3807cdefcb36aca7d.tar.bz2 yuzu-5ff19890e9d2a07d1c0246f3807cdefcb36aca7d.tar.lz yuzu-5ff19890e9d2a07d1c0246f3807cdefcb36aca7d.tar.xz yuzu-5ff19890e9d2a07d1c0246f3807cdefcb36aca7d.tar.zst yuzu-5ff19890e9d2a07d1c0246f3807cdefcb36aca7d.zip |
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 05bffe68e..b2fbe8806 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -458,22 +458,7 @@ if (UNIX AND NOT APPLE) endif() if (NOT YUZU_USE_BUNDLED_FFMPEG) # Use system installed FFmpeg - find_package(FFmpeg 4.3 QUIET COMPONENTS ${FFmpeg_COMPONENTS}) - - if (FFmpeg_FOUND) - # Overwrite aggregate defines from FFmpeg module to avoid over-linking libraries. - # Prevents shipping too many libraries with the AppImage. - set(FFmpeg_LIBRARIES "") - set(FFmpeg_INCLUDE_DIR "") - - foreach(COMPONENT ${FFmpeg_COMPONENTS}) - set(FFmpeg_LIBRARIES ${FFmpeg_LIBRARIES} ${FFmpeg_LIBRARY_${COMPONENT}} CACHE PATH "Paths to FFmpeg libraries" FORCE) - set(FFmpeg_INCLUDE_DIR ${FFmpeg_INCLUDE_DIR} ${FFmpeg_INCLUDE_${COMPONENT}} CACHE PATH "Path to FFmpeg headers" FORCE) - endforeach() - else() - message(WARNING "FFmpeg not found or too old, falling back to externals") - set(YUZU_USE_BUNDLED_FFMPEG ON) - endif() + find_package(FFmpeg 4.3 REQUIRED QUIET COMPONENTS ${FFmpeg_COMPONENTS}) endif() # Prefer the -pthread flag on Linux. |