From c1cd93e562297ec977b9e5d271771b532db9f4ad Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 12 Jun 2017 16:35:34 -0700 Subject: [PATCH] Fixed bug 3670 - CMake IOS haptic error --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 689dd980e..46a05a747 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)