CMakeLists.txt
changeset 9127 a8c38ed1a674
parent 9121 00d99eff96a6
child 9164 494876610c49
equal deleted inserted replaced
9126:08f3b56969b1 9127:a8c38ed1a674
   245   dep_option(${_OPT}           "Enable ${_SUB} support" ON "VIDEO_X11" OFF)
   245   dep_option(${_OPT}           "Enable ${_SUB} support" ON "VIDEO_X11" OFF)
   246 endforeach()
   246 endforeach()
   247 set_option(VIDEO_COCOA         "Use Cocoa video driver" ${APPLE})
   247 set_option(VIDEO_COCOA         "Use Cocoa video driver" ${APPLE})
   248 set_option(DIRECTX             "Use DirectX for Windows audio/video" ${WINDOWS})
   248 set_option(DIRECTX             "Use DirectX for Windows audio/video" ${WINDOWS})
   249 set_option(RENDER_D3D          "Enable the Direct3D render driver" ${WINDOWS})
   249 set_option(RENDER_D3D          "Enable the Direct3D render driver" ${WINDOWS})
       
   250 set_option(VIDEO_MX6           "Use Freescale i.MX6 video driver" OFF)
   250 
   251 
   251 # TODO: We should (should we?) respect cmake's ${BUILD_SHARED_LIBS} flag here
   252 # TODO: We should (should we?) respect cmake's ${BUILD_SHARED_LIBS} flag here
   252 # The options below are for compatibility to configure's default behaviour.
   253 # The options below are for compatibility to configure's default behaviour.
   253 set(SDL_SHARED ON CACHE BOOL "Build a shared version of the library")
   254 set(SDL_SHARED ON CACHE BOOL "Build a shared version of the library")
   254 set(SDL_STATIC ON CACHE BOOL "Build a static version of the library")
   255 set(SDL_STATIC ON CACHE BOOL "Build a static version of the library")
   676     CheckMir()
   677     CheckMir()
   677     CheckDirectFB()
   678     CheckDirectFB()
   678     CheckOpenGLX11()
   679     CheckOpenGLX11()
   679     CheckOpenGLESX11()
   680     CheckOpenGLESX11()
   680     CheckWayland()
   681     CheckWayland()
       
   682     CheckMX6()
   681   endif()
   683   endif()
   682 
   684 
   683   if(LINUX)
   685   if(LINUX)
   684     check_c_source_compiles("
   686     check_c_source_compiles("
   685         #include <linux/input.h>
   687         #include <linux/input.h>