Browse Source
[cmake] externals: include sdl2 if linked to system
Signed-off-by: crueter <crueter@eden-emu.dev>
pull/250/head
crueter
7 months ago
committed by
crueter
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
1 changed files with
2 additions and
2 deletions
-
externals/CMakeLists.txt
|
|
@ -95,7 +95,7 @@ if (ENABLE_LIBUSB AND NOT TARGET libusb::usb) |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
|
|
|
# SDL2 |
|
|
# SDL2 |
|
|
if (YUZU_USE_EXTERNAL_SDL2) |
|
|
|
|
|
|
|
|
if (NOT YUZU_USE_BUNDLED_SDL2) |
|
|
if (NOT WIN32) |
|
|
if (NOT WIN32) |
|
|
# Yuzu itself needs: Atomic Audio Events Joystick Haptic Sensor Threads Timers |
|
|
# Yuzu itself needs: Atomic Audio Events Joystick Haptic Sensor Threads Timers |
|
|
# Since 2.0.18 Atomic+Threads required for HIDAPI/libusb (see https://github.com/libsdl-org/SDL/issues/5095) |
|
|
# Since 2.0.18 Atomic+Threads required for HIDAPI/libusb (see https://github.com/libsdl-org/SDL/issues/5095) |
|
|
@ -133,7 +133,7 @@ if (YUZU_USE_EXTERNAL_SDL2) |
|
|
SHA ${SDL_HASH} |
|
|
SHA ${SDL_HASH} |
|
|
HASH ${SDL_SHA512SUM} |
|
|
HASH ${SDL_SHA512SUM} |
|
|
KEY ${YUZU_SYSTEM_PROFILE} |
|
|
KEY ${YUZU_SYSTEM_PROFILE} |
|
|
SYSTEM_PACKAGE OFF |
|
|
|
|
|
|
|
|
BUNDLED_PACKAGE ${YUZU_USE_EXTERNAL_SDL2} |
|
|
) |
|
|
) |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
|
|
|
|