mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-24 10:20:59 +00:00
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 a new issue