CMakeLists.txt
changeset 11353 598839965877
parent 11337 d9f24e95e8ba
child 11365 a9bd2625fa01
     1.1 --- a/CMakeLists.txt	Sat Aug 26 21:20:20 2017 +0200
     1.2 +++ b/CMakeLists.txt	Sat Aug 26 21:17:12 2017 -0700
     1.3 @@ -801,6 +801,12 @@
     1.4      set(SOURCE_FILES ${SOURCE_FILES} ${ANDROID_FILESYSTEM_SOURCES})
     1.5      set(HAVE_SDL_FILESYSTEM TRUE)
     1.6    endif()
     1.7 +  if(SDL_HAPTIC)
     1.8 +    set(SDL_HAPTIC_ANDROID 1)
     1.9 +    file(GLOB ANDROID_HAPTIC_SOURCES ${SDL2_SOURCE_DIR}/src/haptic/android/*.c)
    1.10 +    set(SOURCE_FILES ${SOURCE_FILES} ${ANDROID_HAPTIC_SOURCES})
    1.11 +    set(HAVE_SDL_HAPTIC TRUE)
    1.12 +  endif()
    1.13    if(SDL_JOYSTICK)
    1.14      set(SDL_JOYSTICK_ANDROID 1)
    1.15      file(GLOB ANDROID_JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/android/*.c)