diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2020-08-10 21:53:33 +0200 |
---|---|---|
committer | Andreas Müller <schnitzeltony@gmail.com> | 2020-08-10 21:53:33 +0200 |
commit | 53a4f19887d9ae4e77f32dd6d71c8a7b516b4d5d (patch) | |
tree | 2ca18a286fb73df1cf764bc791e7db164934ffc6 /meson.build | |
parent | 0bd2549b9c68d8dd54a695d472be1c19b23dc63c (diff) | |
download | libpeas-53a4f19887d9ae4e77f32dd6d71c8a7b516b4d5d.tar.gz |
Do not build tests when introspection is disabled/missing
Fixes:
| ../libpeas-1.26.0/tests/libpeas/introspection/meson.build:47:0: ERROR: Unknown variable "libpeas_gir".
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 8322fea..43fb062 100644 --- a/meson.build +++ b/meson.build @@ -254,7 +254,9 @@ subdir('loaders') if build_demos == true subdir('peas-demo') endif -subdir('tests') +if generate_gir == true + subdir('tests') +endif summary = [ '', |