From: Dylan Baker Date: Mon, 20 Nov 2017 22:55:13 +0000 (-0800) Subject: glapi: fix check_table test for non-shared glapi with meson X-Git-Tag: upstream/18.1.0~1947 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c74719cf4adae2fa142e154bff56716427d3d992;p=platform%2Fupstream%2Fmesa.git 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 Reviewed-by: Eric Engestrom (v1) Reviewed-by: Emil Velikov (v1) --- diff --git a/src/mapi/glapi/meson.build b/src/mapi/glapi/meson.build index 267cfe7..e241d9e 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