mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 13:15:10 +00:00
autotools, cmake: don't define SDL_JOYSTICK_HIDAPI in CheckHIDAPI()
This commit is contained in:
@@ -1172,8 +1172,6 @@ macro(CheckHIDAPI)
|
||||
file(GLOB HIDAPI_JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/hidapi/*.c)
|
||||
set(SOURCE_FILES ${SOURCE_FILES} ${HIDAPI_JOYSTICK_SOURCES})
|
||||
endif()
|
||||
else()
|
||||
set(SDL_HIDAPI_DISABLED 1)
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user