mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 18:48:01 -05:00
On Linux, build SDL2 from externals with HIDAPI support
This commit is contained in:
1
externals/CMakeLists.txt
vendored
1
externals/CMakeLists.txt
vendored
@ -49,6 +49,7 @@ target_include_directories(unicorn-headers INTERFACE ./unicorn/include)
|
||||
if (NOT SDL2_FOUND AND ENABLE_SDL2)
|
||||
set(SDL_STATIC ON)
|
||||
set(SDL_SHARED OFF)
|
||||
set(OPT_DEF_HIDAPI ON)
|
||||
add_subdirectory(SDL EXCLUDE_FROM_ALL)
|
||||
add_library(SDL2 ALIAS SDL2-static)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user