[pango/pango2-windows: 6/7] tests: Only build testserialize.c if FontConfig is there
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2-windows: 6/7] tests: Only build testserialize.c if FontConfig is there
- Date: Wed, 15 Jun 2022 03:29:01 +0000 (UTC)
commit 8725697cd06e3db8e684b344d94c65e52484682a
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Wed Jun 15 10:33:25 2022 +0800
tests: Only build testserialize.c if FontConfig is there
It will not build otherwise.
tests/meson.build | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index c78ed9aa..1955c6fa 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -37,13 +37,17 @@ if cairo_dep.found()
[ 'cxx-test', [ 'cxx-test.cpp' ] ],
[ 'test-harfbuzz', [ 'test-harfbuzz.c' ] ],
[ 'testmisc', [ 'testmisc.c' ] ],
- [ 'testserialize', [ 'testserialize.c' ] ],
[ 'testhbfont', [ 'testhbfont.c' ] ],
[ 'test-layout', [ 'test-layout.c', 'test-common.c' ] ],
[ 'test-fontsets', [ 'test-fontsets.c', 'test-common.c' ] ],
[ 'testrandom', [ 'testrandom.c' ] ],
[ 'test-pangocairo-threads', [ 'test-pangocairo-threads.c' ] ],
]
+ if fontconfig_dep.found()
+ tests += [
+ [ 'testserialize', [ 'testserialize.c' ] ],
+ ]
+ endif
endif
installed_test_data = [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]