autotools, cmake: don't define SDL_JOYSTICK_HIDAPI in CheckHIDAPI()
This commit is contained in:
1 parent
5cc23868ed
commit
68ffd24c58
3 files changed
+7
-17
No files matched your search
@@ -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