mirror of https://github.com/encounter/SDL.git
Fixed bug 3670 - CMake IOS haptic error
This commit is contained in:
parent
22c221f3b0
commit
c1cd93e562
|
@ -1311,7 +1311,7 @@ elseif(APPLE)
|
||||||
if(SDL_HAPTIC)
|
if(SDL_HAPTIC)
|
||||||
set(SDL_HAPTIC_IOKIT 1)
|
set(SDL_HAPTIC_IOKIT 1)
|
||||||
if (IOS)
|
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)
|
set(SDL_HAPTIC_DUMMY 1)
|
||||||
else()
|
else()
|
||||||
file(GLOB HAPTIC_SOURCES ${SDL2_SOURCE_DIR}/src/haptic/darwin/*.c)
|
file(GLOB HAPTIC_SOURCES ${SDL2_SOURCE_DIR}/src/haptic/darwin/*.c)
|
||||||
|
|
Loading…
Reference in New Issue