summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2024-05-23 07:48:28 +0930
committerAdrian Johnson <ajohnson@redneon.com>2024-05-23 09:10:38 +0930
commit60fea22d5d5279a84c122bd225659607083c12bd (patch)
treeb730fc9e130477ae87ec58ceae16df4ebc958afb /meson.build
parent4796138f398489839c01735e907feb6e85269b5c (diff)
Update meson wraps
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 210ba3711..b2337bca9 100644
--- a/meson.build
+++ b/meson.build
@@ -330,6 +330,11 @@ if freetype_dep.found()
foreach func : ft_check_funcs
conf.set('HAVE_@0@'.format(func.to_upper()), 1)
endforeach
+ if freetype_dep.version().version_compare(freetype_colrv1_required_version)
+ conf.set('HAVE_FT_SVG_DOCUMENT', 1)
+ conf.set('HAVE_FT_LOAD_NO_SVG', 1)
+ conf.set('HAVE_FT_COLR_V1', 1)
+ endif
internal_deps += [freetype_dep]
else
if not cc.links(files('meson-cc-tests/ft_has_color.c'), dependencies: freetype_dep, name: 'FT has color')