Commit e5f4a71f1a09ec798428390780f2e1379459567d

Ryan C. Gordon 2017-06-11T16:00:45

cmake: iOS haptic section was referencing power source code (thanks, Martin!). Fixes Bugzilla #3670.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 49efc02..689dd98 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/power/dummy/*.c)
+      file(GLOB POWER_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)