Skip to content

Commit

Permalink
CMake: bug-fix for tvOS support
Browse files Browse the repository at this point in the history
tvOS Device support wasn't working, at least not with the current-latest tvOS release (13.0), with CMake failing during its configuration stage.
  • Loading branch information
DavidLudwig committed Sep 23, 2019
1 parent 4e518f9 commit 6398abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -1532,10 +1532,10 @@ elseif(APPLE)
else()
file(GLOB POWER_SOURCES ${SDL2_SOURCE_DIR}/src/power/macosx/*.c)
set(SDL_POWER_MACOSX 1)
set(SDL_FRAMEWORK_IOKIT 1)
endif()
set(SOURCE_FILES ${SOURCE_FILES} ${POWER_SOURCES})
set(HAVE_SDL_POWER TRUE)
set(SDL_FRAMEWORK_IOKIT 1)
endif()

if(SDL_TIMERS)
Expand Down

0 comments on commit 6398abe

Please sign in to comment.