From 62e862fac42a5f4013a792575ad112252978164e Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Sat, 28 Aug 2021 20:53:21 +0100 Subject: 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 --- tests/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') 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', -- cgit v1.2.3