cmake: Android always needs a native HIDAPI implementation

This commit is contained in:
Anonymous Maarten
2025-06-26 23:38:12 +02:00
committed by Anonymous Maarten
parent 279dabfc96
commit 89eef1bd34
2 changed files with 9 additions and 11 deletions

View File

@@ -1358,9 +1358,7 @@ if(ANDROID)
set(HAVE_SDL_HAPTIC TRUE)
endif()
if(SDL_HIDAPI)
CheckHIDAPI()
endif()
CheckHIDAPI()
if(SDL_JOYSTICK)
set(SDL_JOYSTICK_ANDROID 1)