diff options
author | Dylan Baker <[email protected]> | 2017-11-20 14:55:13 -0800 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2018-02-06 15:00:17 -0800 |
commit | c74719cf4adae2fa142e154bff56716427d3d992 (patch) | |
tree | 8e4bbdbadebd9862b2ee228affca6ab964702d11 | |
parent | 002fbde71eb411521bdceb6dde772c6e21df0f1e (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)
-rw-r--r-- | src/mapi/glapi/meson.build | 5 |
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 |