diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2023-02-10 13:08:26 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2023-02-10 13:08:26 +0000 |
commit | 772d6f3f65b9453df52fb3f12058613842e3565c (patch) | |
tree | 8fd1cabed6d6b5807d800d5ccb79991bc78ed826 /freetype/meson.build | |
parent | e8da62c6ab890c6a27762f9285441afc6920e558 (diff) | |
download | ghostpdl-772d6f3f65b9453df52fb3f12058613842e3565c.tar.gz |
Update fretype to 2.13.0
Diffstat (limited to 'freetype/meson.build')
-rw-r--r-- | freetype/meson.build | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/freetype/meson.build b/freetype/meson.build index a066325b4..f81de3e2f 100644 --- a/freetype/meson.build +++ b/freetype/meson.build @@ -2,7 +2,7 @@ # Meson project file for FreeType 2 # -# Copyright (C) 2020-2022 by +# Copyright (C) 2020-2023 by # David Turner, Robert Wilhelm, and Werner Lemberg. # # This file is part of the FreeType project, and may only be used, modified, @@ -52,6 +52,8 @@ ft2_includes = include_directories('include') freetype_includedir = join_paths(get_option('includedir'), 'freetype2') +ft2_defines = [] + # Generate a custom `ftmodule.h` version based on the content of # `modules.cfg`. @@ -64,6 +66,7 @@ ftmodule_h = custom_target('ftmodule.h', install_dir: join_paths(freetype_includedir, 'freetype/config'), ) ft2_sources = [ftmodule_h] +ft2_defines += ['-DFT_CONFIG_MODULES_H=<ftmodule.h>'] # FreeType 2 modules. @@ -187,7 +190,7 @@ ft2_config_headers = files([ 'include/freetype/config/public-macros.h', ]) -ft2_defines = ['-DFT2_BUILD_LIBRARY=1'] +ft2_defines += ['-DFT2_BUILD_LIBRARY=1'] # System support file. @@ -335,7 +338,8 @@ endif # Harfbuzz support harfbuzz_dep = dependency('harfbuzz', version: '>= 2.0.0', - required: get_option('harfbuzz')) + required: get_option('harfbuzz'), + default_options: ['freetype=disabled']) if harfbuzz_dep.found() ftoption_command += ['--enable=FT_CONFIG_OPTION_USE_HARFBUZZ'] |