Commit 91b6b98f authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

meson: fix backported gl patch

compat_includes only exists in master.

Fixes #507
parent 06b945df
......@@ -418,14 +418,10 @@ if need_platform_egl != 'no'
egl_dep = cc.find_library('EGL', required : false)
endif
if egl_dep.found() and not cc.has_header('EGL/egl.h',
dependencies : egl_dep,
include_directories : compat_includes)
if egl_dep.found() and not cc.has_header('EGL/egl.h', dependencies : egl_dep)
egl_dep = unneeded_dep
endif
if egl_dep.found() and not cc.has_header('EGL/eglext.h',
dependencies : egl_dep,
include_directories : compat_includes)
if egl_dep.found() and not cc.has_header('EGL/eglext.h', dependencies : egl_dep)
egl_dep = unneeded_dep
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment