Fixed bug 3670 - CMake IOS haptic error
authorSam Lantinga <slouken@libsdl.org>
Mon, 12 Jun 2017 16:35:34 -0700
changeset 110955cf754a84eb7
parent 11094 093b58f5de3c
child 11096 819384789a7a
Fixed bug 3670 - CMake IOS haptic error
CMakeLists.txt
     1.1 --- a/CMakeLists.txt	Sun Jun 11 22:30:58 2017 +0200
     1.2 +++ b/CMakeLists.txt	Mon Jun 12 16:35:34 2017 -0700
     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/haptic/dummy/*.c)
     1.8 +      file(GLOB HAPTIC_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)