build: fix build with GLESv2
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Tue, 21 Aug 2012 21:05:37 +0000 (23:05 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 22 Aug 2012 10:56:00 +0000 (12:56 +0200)
  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>
Makefile.am

index 10753d6..e83c246 100644 (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
 
 #