[pango/matthiasc/for-master] Only build pango-segmentation if we have cairo



commit 65404213f278a2b80794e4d46458f786cd9b70b3
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun May 23 12:11:48 2021 -0400

    Only build pango-segmentation if we have cairo

 utils/meson.build | 14 +++++++-------
 1 file 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]