From: Marcin Slusarz Date: Tue, 21 Aug 2012 21:05:37 +0000 (+0200) Subject: build: fix build with GLESv2 X-Git-Tag: kmscon-7~625 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6094ff1603054d8842c657a18d02d1084cd868a4;p=platform%2Fupstream%2Fkmscon.git 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 Signed-off-by: David Herrmann --- diff --git a/Makefile.am b/Makefile.am index 10753d6..e83c246 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 #