diff options
| author | James Hilliard <james.hilliard1@gmail.com> | 2021-04-16 02:32:38 -0600 |
|---|---|---|
| committer | James Hilliard <james.hilliard1@gmail.com> | 2021-04-16 03:04:56 -0600 |
| commit | 4c2105312379b62dc84f6eaaf26e2ab293d51b92 (patch) | |
| tree | d88d95d2202d6723e76b4d24950240bd59157ac8 /tests | |
| parent | Change wl_os_dupfd_cloexec minfd to be int (diff) | |
| download | wayland-4c2105312379b62dc84f6eaaf26e2ab293d51b92.tar wayland-4c2105312379b62dc84f6eaaf26e2ab293d51b92.tar.gz wayland-4c2105312379b62dc84f6eaaf26e2ab293d51b92.tar.bz2 wayland-4c2105312379b62dc84f6eaaf26e2ab293d51b92.tar.lz wayland-4c2105312379b62dc84f6eaaf26e2ab293d51b92.tar.xz wayland-4c2105312379b62dc84f6eaaf26e2ab293d51b92.tar.zst wayland-4c2105312379b62dc84f6eaaf26e2ab293d51b92.zip | |
meson: only require cpp for tests
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/meson.build | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/meson.build b/tests/meson.build index a32ac50..2e11af4 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -64,15 +64,17 @@ executable( dependencies: test_runner_dep ) -test( - 'cpp-compile-test', - executable( +if add_languages('cpp') + test( 'cpp-compile-test', - 'cpp-compile-test.cpp', - wayland_server_protocol_h, - include_directories: src_inc + executable( + 'cpp-compile-test', + 'cpp-compile-test.cpp', + wayland_server_protocol_h, + include_directories: src_inc + ) ) -) +endif sed_path = find_program('sed').path() |
