CMake: bug-fix for tvOS support
authorDavid Ludwig <dludwig@pobox.com>
Mon, 23 Sep 2019 18:24:03 -0400
changeset 13086144fc4e62b72
parent 13085 ced7e9670370
child 13087 76ff33e9a6b4
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.
CMakeLists.txt
     1.1 --- a/CMakeLists.txt	Mon Sep 23 17:48:14 2019 -0400
     1.2 +++ b/CMakeLists.txt	Mon Sep 23 18:24:03 2019 -0400
     1.3 @@ -1532,10 +1532,10 @@
     1.4      else()
     1.5        file(GLOB POWER_SOURCES ${SDL2_SOURCE_DIR}/src/power/macosx/*.c)
     1.6        set(SDL_POWER_MACOSX 1)
     1.7 +      set(SDL_FRAMEWORK_IOKIT 1)
     1.8      endif()
     1.9      set(SOURCE_FILES ${SOURCE_FILES} ${POWER_SOURCES})
    1.10      set(HAVE_SDL_POWER TRUE)
    1.11 -    set(SDL_FRAMEWORK_IOKIT 1)
    1.12    endif()
    1.13  
    1.14    if(SDL_TIMERS)