CMakeLists.txt
changeset 8153 3e43c73ac79b
parent 8137 6dbd80731aa0
child 8161 6c5d35c8b3dd
equal deleted inserted replaced
8152:8f8e4958651c 8153:3e43c73ac79b
   229 set_option(NAS_SHARED          "Dynamically load NAS audio API" ${UNIX_SYS})
   229 set_option(NAS_SHARED          "Dynamically load NAS audio API" ${UNIX_SYS})
   230 set_option(SNDIO               "Support the sndio audio API" ${UNIX_SYS})
   230 set_option(SNDIO               "Support the sndio audio API" ${UNIX_SYS})
   231 set_option(RPATH               "Use an rpath when linking SDL" ${UNIX_SYS})
   231 set_option(RPATH               "Use an rpath when linking SDL" ${UNIX_SYS})
   232 set_option(CLOCK_GETTIME       "Use clock_gettime() instead of gettimeofday()" OFF)
   232 set_option(CLOCK_GETTIME       "Use clock_gettime() instead of gettimeofday()" OFF)
   233 set_option(INPUT_TSLIB         "Use the Touchscreen library for input" ${UNIX_SYS})
   233 set_option(INPUT_TSLIB         "Use the Touchscreen library for input" ${UNIX_SYS})
       
   234 set_option(VIDEO_MIR           "Use Mir video driver" ${UNIX_SYS})
   234 set_option(VIDEO_X11           "Use X11 video driver" ${UNIX_SYS})
   235 set_option(VIDEO_X11           "Use X11 video driver" ${UNIX_SYS})
   235 set_option(VIDEO_WAYLAND       "Use Wayland video driver" ${UNIX_SYS})
   236 set_option(VIDEO_WAYLAND       "Use Wayland video driver" ${UNIX_SYS})
   236 dep_option(X11_SHARED          "Dynamically load X11 support" ON "VIDEO_X11" OFF)
   237 dep_option(X11_SHARED          "Dynamically load X11 support" ON "VIDEO_X11" OFF)
   237 set(SDL_X11_OPTIONS Xcursor Xinerama XInput Xrandr Xscrnsaver XShape Xvm)
   238 set(SDL_X11_OPTIONS Xcursor Xinerama XInput Xrandr Xscrnsaver XShape Xvm)
   238 foreach(_SUB ${SDL_X11_OPTIONS})
   239 foreach(_SUB ${SDL_X11_OPTIONS})
   652     CheckFusionSound()
   653     CheckFusionSound()
   653   endif()
   654   endif()
   654 
   655 
   655   if(SDL_VIDEO)
   656   if(SDL_VIDEO)
   656     CheckX11()
   657     CheckX11()
       
   658     CheckMir()
   657     CheckDirectFB()
   659     CheckDirectFB()
   658     CheckOpenGLX11()
   660     CheckOpenGLX11()
   659     CheckOpenGLESX11()
   661     CheckOpenGLESX11()
   660     CheckWayland()
   662     CheckWayland()
   661   endif()
   663   endif()