| Summary: | [patch] Raspberry PI support using CMake | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Tobias Himmer <provisorisch> |
| Component: | build | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.1 | ||
| Hardware: | ARM | ||
| OS: | Linux | ||
| Attachments: | Raspberry PI support using CMake | ||
Looks good, thanks! https://hg.libsdl.org/SDL/rev/28e6de55eb07 |
Created attachment 1813 [details] Raspberry PI support using CMake Hi, 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.