aboutsummaryrefslogtreecommitdiff
path: root/tests/meson.build
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2021-08-28 20:53:21 +0100
committerDaniel Stone <daniels@collabora.com>2021-08-28 20:54:26 +0100
commit62e862fac42a5f4013a792575ad112252978164e (patch)
treefa8fb18559a969fb99e609cee068e6ee48c2acb4 /tests/meson.build
parent7dffa6f346ae32f7888177d74a45459997059767 (diff)
tests: Include libwayland cflags/ldflags
When we're building C++ test executables, make sure we pull in the correct libwayland headers, to avoid trying to compile against a version different from the scanner we built it against. Signed-off-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'tests/meson.build')
-rw-r--r--tests/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 55b2c0a..4b34b05 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -130,6 +130,7 @@ foreach protocol_file : protocol_files
server_header,
],
link_args: [ '-Wl,--unresolved-symbols=ignore-all' ],
+ dependencies: libwayland,
cpp_args: [
'-Wall',
'-Werror',