summaryrefslogtreecommitdiffstats
path: root/externals/CMakeLists.txt
diff options
context:
space:
mode:
authorAndrew Udvare <audvare@gmail.com>2021-12-16 14:29:34 +0100
committerAndrew Udvare <audvare@gmail.com>2021-12-17 03:49:39 +0100
commite610485cd243b8296e738dd22ada639463cc0197 (patch)
tree58161d1c8ae91229db8d479854d612d57c3c69d4 /externals/CMakeLists.txt
parentMerge pull request #7532 from goldenx86/patch-3 (diff)
downloadyuzu-e610485cd243b8296e738dd22ada639463cc0197.tar
yuzu-e610485cd243b8296e738dd22ada639463cc0197.tar.gz
yuzu-e610485cd243b8296e738dd22ada639463cc0197.tar.bz2
yuzu-e610485cd243b8296e738dd22ada639463cc0197.tar.lz
yuzu-e610485cd243b8296e738dd22ada639463cc0197.tar.xz
yuzu-e610485cd243b8296e738dd22ada639463cc0197.tar.zst
yuzu-e610485cd243b8296e738dd22ada639463cc0197.zip
Diffstat (limited to '')
-rw-r--r--externals/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index 64d1e6aec..598f81978 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -52,11 +52,12 @@ endif()
# SDL2
if (YUZU_USE_EXTERNAL_SDL2)
if (NOT WIN32)
- # Yuzu itself needs: Events Joystick Haptic Sensor Timers Audio
+ # Yuzu itself needs: Events Joystick Haptic Sensor Timers Audio Threads Atomic
+ # Since 2.0.18 Threads/Atomic required for HIDAPI/libusb (see https://github.com/libsdl-org/SDL/issues/5095)
# Yuzu-cmd also needs: Video (depends on Loadso/Dlopen)
set(SDL_UNUSED_SUBSYSTEMS
- Atomic Render Power Threads
- File CPUinfo Filesystem Locale)
+ Render Power File CPUinfo
+ Filesystem Locale)
foreach(_SUB ${SDL_UNUSED_SUBSYSTEMS})
string(TOUPPER ${_SUB} _OPT)
option(SDL_${_OPT} "" OFF)