summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-05-23 12:11:48 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-05-23 12:11:48 -0400
commit65404213f278a2b80794e4d46458f786cd9b70b3 (patch)
tree31b8b4cd884fc6337af246bff24475f77a8c2092
parenteb724f75baef16868d59ea0f2f1e1976af5c97ed (diff)
downloadpango-65404213f278a2b80794e4d46458f786cd9b70b3.tar.gz
Only build pango-segmentation if we have cairo
-rw-r--r--utils/meson.build14
1 files changed, 7 insertions, 7 deletions
diff --git a/utils/meson.build b/utils/meson.build
index 12968ef7..74d8668b 100644
--- a/utils/meson.build
+++ b/utils/meson.build
@@ -79,11 +79,11 @@ if cairo_dep.found()
'-DPACKAGE_VERSION="@0@"'.format(meson.project_version()),
])
-endif
+ pango_segmentation = executable('pango-segmentation',
+ 'pango-segmentation.c',
+ dependencies: [ libpango_dep, libpangocairo_dep ],
+ include_directories: [ root_inc ],
+ install: false,
+ )
-pango_segmentation = executable('pango-segmentation',
- 'pango-segmentation.c',
- dependencies: [ libpango_dep, libpangocairo_dep ],
- include_directories: [ root_inc ],
- install: false,
- )
+endif