diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-11-24 21:04:37 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-12-30 15:31:45 +0000 |
commit | bf68e722766ff0c40bd6bf73953c282c0efe4a44 (patch) | |
tree | 2a1c6a7b33ccc33b0ff4e468b479397bd5011e02 /test | |
parent | 0a823785fad27e1eb9a900e80923bc9bde106de9 (diff) |
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 <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
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') |