mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 15:26:55 -05:00
cmake: iOS haptic section was referencing power source code (thanks, Martin!).
Fixes Bugzilla #3670.
This commit is contained in:
parent
b10e95e1f3
commit
230cc2fa66
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user