Skip to content

Commit

Permalink
[meson] Disable FreeType dependencies we don’t need
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledhosny committed Oct 2, 2024
1 parent d251422 commit 38911e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38911e8

Please sign in to comment.