CMakeLists.txt
changeset 9980 224187458d03
parent 9979 e3d651c5fe31
child 9981 a443c97eb294
     1.1 --- a/CMakeLists.txt	Tue Dec 29 00:02:43 2015 -0500
     1.2 +++ b/CMakeLists.txt	Tue Dec 29 00:24:37 2015 -0500
     1.3 @@ -826,7 +826,7 @@
     1.4  
     1.5    if(SDL_JOYSTICK)
     1.6      CheckUSBHID()   # seems to be BSD specific - limit the test to BSD only?
     1.7 -    if(LINUX)
     1.8 +    if(LINUX AND NOT ANDROID)
     1.9        set(SDL_JOYSTICK_LINUX 1)
    1.10        file(GLOB JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/linux/*.c)
    1.11        set(SOURCE_FILES ${SOURCE_FILES} ${JOYSTICK_SOURCES})