Skip to content

Commit

Permalink
cmake: iOS haptic section was referencing power source code (thanks, …
Browse files Browse the repository at this point in the history
…Martin!).

Fixes Bugzilla #3670.
  • Loading branch information
icculus committed Jun 11, 2017
1 parent 3c955d0 commit e5f4a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit e5f4a71

Please sign in to comment.