summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-11-20 14:55:13 -0800
committerEmil Velikov <[email protected]>2018-03-20 16:57:23 +0000
commitd658dc8f4de430d489c0a5c3ba6abdb44df87b0b (patch)
treedaf1fbc6313c38ab81d7b35738be3a69f2c492f4 /src/mapi
parentada6af733007cfccea148bfed1c7cfa016a2ad62 (diff)
glapi: fix check_table test for non-shared glapi with meson
v2: - Add glapitable_h generated source to requirements Fixes: 3218056e0eb3 ("meson: Build i965 and dri stack") Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> (v1) Reviewed-by: Emil Velikov <[email protected]> (v1) (cherry picked from commit c74719cf4adae2fa142e154bff56716427d3d992)
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/meson.build5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mapi/glapi/meson.build b/src/mapi/glapi/meson.build
index 267cfe7e7be..e241d9ed388 100644
--- a/src/mapi/glapi/meson.build
+++ b/src/mapi/glapi/meson.build
@@ -82,9 +82,10 @@ if not with_shared_glapi and with_tests
'glapi_static_check_table',
executable(
'glapi_static_check_table',
- 'tests/check_table.cpp',
+ ['tests/check_table.cpp', glapitable_h],
+ include_directories : [inc_include, inc_src, inc_mesa, inc_mapi],
link_with : [libglapi_static],
- dependencies : [idep_gtest],
+ dependencies : [idep_gtest, dep_thread],
)
)
endif