glapi: Don't search through subdirs from glapitable.h
authorDylan Baker <dylan@pnwbakers.com>
Mon, 20 Nov 2017 22:54:30 +0000 (14:54 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 6 Feb 2018 23:00:17 +0000 (15:00 -0800)
Because meson won't put it in that folder.

Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mapi/glapi/tests/check_table.cpp
src/mesa/main/tests/Makefile.am

index 30f523ca5fbac52caa705204a89bbbecd74b68f2..6230f1273f31669c5290bc11382323441937d548 100644 (file)
@@ -25,7 +25,7 @@
 #include "main/glheader.h"
 
 #include "glapi/glapi.h"
-#include "glapi/glapitable.h"
+#include "glapitable.h"
 
 struct name_offset {
    const char *name;
index a8395d925bdc0f83725b95042814b13d6e32974f..94266a1d4ab75ca917f4c959ffdf701f8a9347d0 100644 (file)
@@ -4,6 +4,8 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/gtest/include \
        -I$(top_srcdir)/src \
        -I$(top_srcdir)/src/mapi \
+       -I$(top_builddir)/src/mapi/glapi \
+       -I$(top_srcdir)/src/mapi/glapi \
        -I$(top_builddir)/src/mesa \
        -I$(top_srcdir)/src/mesa \
        -I$(top_srcdir)/include \