CMakeLists.txt
changeset 8153 3e43c73ac79b
parent 8137 6dbd80731aa0
child 8161 6c5d35c8b3dd
--- a/CMakeLists.txt	Sun Feb 02 21:38:16 2014 -0500
+++ b/CMakeLists.txt	Sun Feb 02 23:41:46 2014 -0500
@@ -231,6 +231,7 @@
 set_option(RPATH               "Use an rpath when linking SDL" ${UNIX_SYS})
 set_option(CLOCK_GETTIME       "Use clock_gettime() instead of gettimeofday()" OFF)
 set_option(INPUT_TSLIB         "Use the Touchscreen library for input" ${UNIX_SYS})
+set_option(VIDEO_MIR           "Use Mir video driver" ${UNIX_SYS})
 set_option(VIDEO_X11           "Use X11 video driver" ${UNIX_SYS})
 set_option(VIDEO_WAYLAND       "Use Wayland video driver" ${UNIX_SYS})
 dep_option(X11_SHARED          "Dynamically load X11 support" ON "VIDEO_X11" OFF)
@@ -654,6 +655,7 @@
 
   if(SDL_VIDEO)
     CheckX11()
+    CheckMir()
     CheckDirectFB()
     CheckOpenGLX11()
     CheckOpenGLESX11()