CMakeLists.txt
changeset 11537 ce94d20bd620
parent 11487 bf55fefff23d
child 11573 3a026cc340a7
     1.1 --- a/CMakeLists.txt	Fri Sep 22 08:32:31 2017 -0700
     1.2 +++ b/CMakeLists.txt	Fri Sep 22 16:33:34 2017 -0700
     1.3 @@ -816,7 +816,7 @@
     1.4    endif()
     1.5    if(SDL_JOYSTICK)
     1.6      set(SDL_JOYSTICK_ANDROID 1)
     1.7 -    file(GLOB ANDROID_JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/android/*.c)
     1.8 +    file(GLOB ANDROID_JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/android/*.c ${SDL2_SOURCE_DIR}/src/joystick/steam/*.c)
     1.9      set(SOURCE_FILES ${SOURCE_FILES} ${ANDROID_JOYSTICK_SOURCES})
    1.10      set(HAVE_SDL_JOYSTICK TRUE)
    1.11    endif()
    1.12 @@ -1055,7 +1055,7 @@
    1.13      CheckUSBHID()   # seems to be BSD specific - limit the test to BSD only?
    1.14      if(LINUX AND NOT ANDROID)
    1.15        set(SDL_JOYSTICK_LINUX 1)
    1.16 -      file(GLOB JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/linux/*.c)
    1.17 +      file(GLOB JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/linux/*.c ${SDL2_SOURCE_DIR}/src/joystick/steam/*.c)
    1.18        set(SOURCE_FILES ${SOURCE_FILES} ${JOYSTICK_SOURCES})
    1.19        set(HAVE_SDL_JOYSTICK TRUE)
    1.20      endif()
    1.21 @@ -1382,7 +1382,7 @@
    1.22    if(SDL_JOYSTICK)
    1.23      set(SDL_JOYSTICK_IOKIT 1)
    1.24      if (IOS)
    1.25 -      file(GLOB JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/iphoneos/*.m)
    1.26 +      file(GLOB JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/iphoneos/*.m ${SDL2_SOURCE_DIR}/src/joystick/steam/*.c)
    1.27      else()
    1.28        file(GLOB JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/darwin/*.c)
    1.29      endif()