diff options
Diffstat (limited to 'utils/meson.build')
-rw-r--r-- | utils/meson.build | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/utils/meson.build b/utils/meson.build index 74d8668b..6d06dbec 100644 --- a/utils/meson.build +++ b/utils/meson.build @@ -79,11 +79,24 @@ if cairo_dep.found() '-DPACKAGE_VERSION="@0@"'.format(meson.project_version()), ]) + pango_segmentation_sources = [ + 'pango-segmentation.c', + ] + + pango_segmentation_deps = [ + pango_deps, + libpango_dep, + libpangocairo_dep + ] + pango_segmentation = executable('pango-segmentation', - 'pango-segmentation.c', - dependencies: [ libpango_dep, libpangocairo_dep ], + pango_segmentation_sources, + dependencies: pango_segmentation_deps, include_directories: [ root_inc ], - install: false, - ) + install: true, + c_args: [ + '-DPACKAGE_NAME="@0@"'.format(meson.project_name()), + '-DPACKAGE_VERSION="@0@"'.format(meson.project_version()), + ]) endif |