summaryrefslogtreecommitdiffstats
path: root/src/glx/tests/meson.build
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2018-12-12 19:24:14 +0000
committerEmil Velikov <[email protected]>2018-12-12 19:24:14 +0000
commitf331419f262d3a0f270376cafbb9517b4627bb7a (patch)
tree49405a0cff878ce0f947ce21621e5a5432fda12a /src/glx/tests/meson.build
parente139d7a8a315502d538b6a753cb42e841c10e57f (diff)
glx/test: meson: assorted include fixes
Swap '..' with the symbolic inc_glx and add glproto as dependency. That will pull the correct include, effectively fixing the tests on macOS. Fixes: a47c525f328 ("meson: build glx") Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/glx/tests/meson.build')
-rw-r--r--src/glx/tests/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/tests/meson.build b/src/glx/tests/meson.build
index 2420c90c437..68e1ca59c22 100644
--- a/src/glx/tests/meson.build
+++ b/src/glx/tests/meson.build
@@ -46,9 +46,9 @@ if with_shared_glapi
link_with : [libglx, libglapi],
include_directories : [
inc_src, inc_include, inc_mesa, inc_mapi, inc_gl_internal,
- include_directories('..'),
+ inc_glx,
],
- dependencies : [dep_libdrm, dep_thread, idep_gtest]
+ dependencies : [dep_libdrm, dep_glproto, dep_thread, idep_gtest]
),
suite : ['glx'],
)