From 38911e8815c42b06e13dd96d645b5a05f1cc1bd5 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Wed, 2 Oct 2024 21:42:28 +0300 Subject: [PATCH] =?UTF-8?q?[meson]=20Disable=20FreeType=20dependencies=20w?= =?UTF-8?q?e=20don=E2=80=99t=20need?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index c2ce03ba..89348ec9 100644 --- a/meson.build +++ b/meson.build @@ -28,7 +28,9 @@ if get_option('colr-cycle-check') conf.set('OTS_COLR_CYCLE_CHECK', 1) endif -freetype = dependency('freetype2', required: false) +freetype = dependency('freetype2', required: false, + default_options: ['harfbuzz=disabled', 'brotli=disabled', 'zlib=disabled', 'bzip2=disabled'] +) if freetype.found() conf.set('HAVE_FREETYPE', 1) endif