cmake: iOS haptic section was referencing power source code (thanks, Martin!).
authorRyan C. Gordon <icculus@icculus.org>
Sun, 11 Jun 2017 16:00:45 -0400
changeset 1108984a49d9b3e58
parent 11088 69452f9839d5
child 11090 d85832ad10c3
cmake: iOS haptic section was referencing power source code (thanks, Martin!).

Fixes Bugzilla #3670.
CMakeLists.txt
     1.1 --- a/CMakeLists.txt	Sun Jun 11 00:50:26 2017 -0400
     1.2 +++ b/CMakeLists.txt	Sun Jun 11 16:00:45 2017 -0400
     1.3 @@ -1311,7 +1311,7 @@
     1.4    if(SDL_HAPTIC)
     1.5      set(SDL_HAPTIC_IOKIT 1)
     1.6      if (IOS)
     1.7 -      file(GLOB POWER_SOURCES ${SDL2_SOURCE_DIR}/src/power/dummy/*.c)
     1.8 +      file(GLOB POWER_SOURCES ${SDL2_SOURCE_DIR}/src/haptic/dummy/*.c)
     1.9        set(SDL_HAPTIC_DUMMY 1)
    1.10      else()
    1.11        file(GLOB HAPTIC_SOURCES ${SDL2_SOURCE_DIR}/src/haptic/darwin/*.c)