From 613cc2b98a8d6b7fb61c6dc12cb5278be8d8a283 Mon Sep 17 00:00:00 2001 From: ado Date: Sun, 7 Feb 2021 13:02:35 +0100 Subject: [PATCH] disable tests if subproject in meson --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 4ff7542..b1624e1 100644 --- a/meson.build +++ b/meson.build @@ -12,4 +12,6 @@ ssp_dep = declare_dependency( dependencies: fast_float_dep ) -subdir('test') +if not meson.is_subproject() + subdir('test') +endif