CMakeLists.txt
changeset 13086 144fc4e62b72
parent 13084 c3880ebab198
child 13089 9692ad570003
equal deleted inserted replaced
13085:ced7e9670370 13086:144fc4e62b72
  1530       file(GLOB POWER_SOURCES ${SDL2_SOURCE_DIR}/src/power/uikit/*.m)
  1530       file(GLOB POWER_SOURCES ${SDL2_SOURCE_DIR}/src/power/uikit/*.m)
  1531       set(SDL_POWER_UIKIT 1)
  1531       set(SDL_POWER_UIKIT 1)
  1532     else()
  1532     else()
  1533       file(GLOB POWER_SOURCES ${SDL2_SOURCE_DIR}/src/power/macosx/*.c)
  1533       file(GLOB POWER_SOURCES ${SDL2_SOURCE_DIR}/src/power/macosx/*.c)
  1534       set(SDL_POWER_MACOSX 1)
  1534       set(SDL_POWER_MACOSX 1)
       
  1535       set(SDL_FRAMEWORK_IOKIT 1)
  1535     endif()
  1536     endif()
  1536     set(SOURCE_FILES ${SOURCE_FILES} ${POWER_SOURCES})
  1537     set(SOURCE_FILES ${SOURCE_FILES} ${POWER_SOURCES})
  1537     set(HAVE_SDL_POWER TRUE)
  1538     set(HAVE_SDL_POWER TRUE)
  1538     set(SDL_FRAMEWORK_IOKIT 1)
       
  1539   endif()
  1539   endif()
  1540 
  1540 
  1541   if(SDL_TIMERS)
  1541   if(SDL_TIMERS)
  1542     set(SDL_TIMER_UNIX 1)
  1542     set(SDL_TIMER_UNIX 1)
  1543     file(GLOB TIMER_SOURCES ${SDL2_SOURCE_DIR}/src/timer/unix/*.c)
  1543     file(GLOB TIMER_SOURCES ${SDL2_SOURCE_DIR}/src/timer/unix/*.c)