build: fix build with GLESv2

CC     src/static_gl_math.lo
In file included from src/static_gl_math.c:35:0:
src/static_gl.h:36:23: fatal error: GLES2/gl2.h: No such file or directory

  CC     src/static_gl_shader.lo
src/static_gl_shader.c:36:23: fatal error: GLES2/gl2.h: No such file or directory

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
Marcin Slusarz 2012-08-21 23:05:37 +02:00 committed by David Herrmann
parent 8398f4b0f9
commit 6094ff1603

View File

@ -277,6 +277,10 @@ nodist_libkmscon_static_la_SOURCES = \
src/static_gl_math.c \
src/static_gl_shader.c \
src/static_shaders.c
libkmscon_static_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
$(GLES2_CFLAGS)
endif
#