Commit c1cd93e562297ec977b9e5d271771b532db9f4ad

Sam Lantinga 2017-06-12T16:35:34

Fixed bug 3670 - CMake IOS haptic error

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 689dd98..46a05a7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1311,7 +1311,7 @@ elseif(APPLE)
   if(SDL_HAPTIC)
     set(SDL_HAPTIC_IOKIT 1)
     if (IOS)
-      file(GLOB POWER_SOURCES ${SDL2_SOURCE_DIR}/src/haptic/dummy/*.c)
+      file(GLOB HAPTIC_SOURCES ${SDL2_SOURCE_DIR}/src/haptic/dummy/*.c)
       set(SDL_HAPTIC_DUMMY 1)
     else()
       file(GLOB HAPTIC_SOURCES ${SDL2_SOURCE_DIR}/src/haptic/darwin/*.c)