mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 12:55:37 +00:00
cmake: iOS haptic section was referencing power source code (thanks, Martin!).
Fixes Bugzilla #3670.
This commit is contained in:
parent
3c955d0540
commit
e5f4a71f1a
|
@ -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/power/dummy/*.c)
|
file(GLOB POWER_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