include: install GL headers when GL is enabled

A typo made it depend on EGL instead.

Fixes: ab9b5fcc3b ("Install the GL/GLES/GLX/EGL header files.")
This commit is contained in:
Eric Engestrom 2019-09-30 16:06:42 +01:00 committed by Eric Engestrom
parent 062a42ea55
commit 6f52473dac

View file

@ -39,7 +39,7 @@ EGL_HEADER_FILES = \
EGL/eglext.h \
EGL/eglplatform.h
if ENABLE_EGL_HEADERS
if ENABLE_GL_HEADERS
nobase_include_HEADERS += $(GL_HEADER_FILES)
else
noinst_HEADERS += $(GL_HEADER_FILES)