diff options
Diffstat (limited to 'externals/CMakeLists.txt')
| -rw-r--r-- | externals/CMakeLists.txt | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 26ead64f2..158113516 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt | |||
| @@ -52,11 +52,12 @@ endif() | |||
| 52 | # SDL2 | 52 | # SDL2 |
| 53 | if (YUZU_USE_EXTERNAL_SDL2) | 53 | if (YUZU_USE_EXTERNAL_SDL2) |
| 54 | if (NOT WIN32) | 54 | if (NOT WIN32) |
| 55 | # Yuzu itself needs: Events Joystick Haptic Sensor Timers Audio | 55 | # Yuzu itself needs: Atomic Audio Events Joystick Haptic Sensor Threads Timers |
| 56 | # Since 2.0.18 Atomic+Threads required for HIDAPI/libusb (see https://github.com/libsdl-org/SDL/issues/5095) | ||
| 56 | # Yuzu-cmd also needs: Video (depends on Loadso/Dlopen) | 57 | # Yuzu-cmd also needs: Video (depends on Loadso/Dlopen) |
| 57 | set(SDL_UNUSED_SUBSYSTEMS | 58 | set(SDL_UNUSED_SUBSYSTEMS |
| 58 | Atomic Render Power Threads | 59 | CPUinfo File Filesystem |
| 59 | File CPUinfo Filesystem Locale) | 60 | Locale Power Render) |
| 60 | foreach(_SUB ${SDL_UNUSED_SUBSYSTEMS}) | 61 | foreach(_SUB ${SDL_UNUSED_SUBSYSTEMS}) |
| 61 | string(TOUPPER ${_SUB} _OPT) | 62 | string(TOUPPER ${_SUB} _OPT) |
| 62 | option(SDL_${_OPT} "" OFF) | 63 | option(SDL_${_OPT} "" OFF) |
| @@ -121,3 +122,12 @@ if (YUZU_USE_BUNDLED_OPUS) | |||
| 121 | else() | 122 | else() |
| 122 | find_package(opus 1.3 REQUIRED) | 123 | find_package(opus 1.3 REQUIRED) |
| 123 | endif() | 124 | endif() |
| 125 | |||
| 126 | # FFMpeg | ||
| 127 | if (YUZU_USE_BUNDLED_FFMPEG) | ||
| 128 | add_subdirectory(ffmpeg) | ||
| 129 | set(FFmpeg_PATH "${FFmpeg_PATH}" PARENT_SCOPE) | ||
| 130 | set(FFmpeg_LDFLAGS "${FFmpeg_LDFLAGS}" PARENT_SCOPE) | ||
| 131 | set(FFmpeg_LIBRARIES "${FFmpeg_LIBRARIES}" PARENT_SCOPE) | ||
| 132 | set(FFmpeg_INCLUDE_DIR "${FFmpeg_INCLUDE_DIR}" PARENT_SCOPE) | ||
| 133 | endif() | ||