mirror of https://github.com/encounter/SDL.git
CMake: bug-fix for tvOS support
tvOS Device support wasn't working, at least not with the current-latest tvOS release (13.0), with CMake failing during its configuration stage.
This commit is contained in:
parent
4e518f98a8
commit
6398abe588
|
@ -1532,10 +1532,10 @@ elseif(APPLE)
|
||||||
else()
|
else()
|
||||||
file(GLOB POWER_SOURCES ${SDL2_SOURCE_DIR}/src/power/macosx/*.c)
|
file(GLOB POWER_SOURCES ${SDL2_SOURCE_DIR}/src/power/macosx/*.c)
|
||||||
set(SDL_POWER_MACOSX 1)
|
set(SDL_POWER_MACOSX 1)
|
||||||
|
set(SDL_FRAMEWORK_IOKIT 1)
|
||||||
endif()
|
endif()
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${POWER_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${POWER_SOURCES})
|
||||||
set(HAVE_SDL_POWER TRUE)
|
set(HAVE_SDL_POWER TRUE)
|
||||||
set(SDL_FRAMEWORK_IOKIT 1)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SDL_TIMERS)
|
if(SDL_TIMERS)
|
||||||
|
|
Loading…
Reference in New Issue