mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-07 18:39:37 +01: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 New Issue
Block a user