Edit

kc3-lang/SDL/cmake

Branch :

  • Show log

    Commit

  • Author : Sam Lantinga
    Date : 2014-08-16 23:28:40
    Hash : 984d0fc4
    Message : Fixed bug 2683 - Raspberry PI support using CMake Tobias Himmer this patch adds a check to the CMake build script to detect whether the VideoCore API is available. If it is found, it enables SDL_VIDEO_DRIVER_RPI and will also add the needed include/library directory flags to CMAKE_C_FLAGS so the subsequent check for GLES succeeds in picking up the headers. Seems to work fine on Raspbian.