CMakeLists.txt
changeset 9077 28e6de55eb07
parent 9075 257a6793aaf5
child 9080 2e4e71ec140f
     1.1 --- a/CMakeLists.txt	Sat Aug 16 23:25:02 2014 -0700
     1.2 +++ b/CMakeLists.txt	Sat Aug 16 23:28:40 2014 -0700
     1.3 @@ -237,6 +237,7 @@
     1.4  set_option(VIDEO_X11           "Use X11 video driver" ${UNIX_SYS})
     1.5  set_option(VIDEO_WAYLAND       "Use Wayland video driver" ${UNIX_SYS})
     1.6  set_option(VIDEO_MIR           "Use Mir video driver" ${UNIX_SYS})
     1.7 +set_option(VIDEO_RPI           "Use Raspberry Pi video driver" ${UNIX_SYS})
     1.8  dep_option(X11_SHARED          "Dynamically load X11 support" ON "VIDEO_X11" OFF)
     1.9  set(SDL_X11_OPTIONS Xcursor Xinerama XInput Xrandr Xscrnsaver XShape Xvm)
    1.10  foreach(_SUB ${SDL_X11_OPTIONS})
    1.11 @@ -658,6 +659,8 @@
    1.12    endif()
    1.13  
    1.14    if(SDL_VIDEO)
    1.15 +    # Need to check for Raspberry PI first and add platform specific compiler flags, otherwise the test for GLES fails!
    1.16 +    CheckRPI()
    1.17      CheckX11()
    1.18      CheckMir()
    1.19      CheckDirectFB()