From bf68e722766ff0c40bd6bf73953c282c0efe4a44 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Tue, 24 Nov 2020 21:04:37 +0000 Subject: meson: test: Simplify top level meson Utilise the subdir_done() functionality as is used with other optional components to simplify the top level meson file. Suggested-by: Jacopo Mondi Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- test/meson.build | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/meson.build b/test/meson.build index 0a1d434e..7f0682ad 100644 --- a/test/meson.build +++ b/test/meson.build @@ -1,5 +1,9 @@ # SPDX-License-Identifier: CC0-1.0 +if not get_option('test') + subdir_done() +endif + subdir('libtest') subdir('camera') -- cgit v1.2.1