[meson] Use subdir_done to simplify test/api/meson.build
This commit is contained in:
parent
a79d0e405b
commit
759ab4fe56
|
@ -1,4 +1,8 @@
|
||||||
if conf.get('HAVE_GLIB', 0) == 1
|
if conf.get('HAVE_GLIB', 0) == 0
|
||||||
|
message('You need to have glib support enabled to run test/api tests')
|
||||||
|
subdir_done()
|
||||||
|
endif
|
||||||
|
|
||||||
tests = [
|
tests = [
|
||||||
'test-aat-layout.c',
|
'test-aat-layout.c',
|
||||||
'test-baseline.c',
|
'test-baseline.c',
|
||||||
|
@ -81,6 +85,3 @@ if conf.get('HAVE_GLIB', 0) == 1
|
||||||
install: false,
|
install: false,
|
||||||
), env: env)
|
), env: env)
|
||||||
endforeach
|
endforeach
|
||||||
else
|
|
||||||
message('You need to have glib support enabled to run test/api tests')
|
|
||||||
endif
|
|
||||||
|
|
Loading…
Reference in New Issue