We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4643

Summary: Append EGL CFLAGS in CheckOpenGLESX11
Product: SDL Reporter: Danilo Spinella <danyspin97>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: trivial    
Priority: P2    
Version: HG 2.1   
Hardware: x86_64   
OS: Linux   
Attachments: [PATCH] fix-egl-falgs.patch

Description Danilo Spinella 2019-05-26 07:52:14 UTC
Created attachment 3798 [details]
[PATCH] fix-egl-falgs.patch

EGL need -DMESA_EGL_NO_X11_HEADERS in systems without X11 installed. Make CMake checks import EGL CFLAGS.

Relevant bug: https://bugzilla.libsdl.org/show_bug.cgi?id=4243
Comment 1 Danilo Spinella 2020-02-18 15:08:46 UTC
Can this patch be reviewed please? It is still required in the latest version.
Comment 2 Sam Lantinga 2020-03-02 23:24:37 UTC
Patch added, thanks!
https://hg.libsdl.org/SDL/rev/85c4a2f0464d