Merge pull request #63762 from bruvzg/ft_warn

[TextServer] Add a build warning when building with external FreeType without Brotli support.
This commit is contained in:
Rémi Verschelde
2022-08-06 00:31:15 +02:00
committed by GitHub
4 changed files with 10 additions and 1 deletions

View File

@ -515,6 +515,7 @@ if env["builtin_msdfgen"] and msdfgen_enabled:
env_text_server_adv.Prepend(CPPPATH=["#thirdparty/msdfgen"])
if env["builtin_freetype"] and freetype_enabled:
env_text_server_adv.Append(CPPDEFINES=["FT_CONFIG_OPTION_USE_BROTLI"])
env_text_server_adv.Prepend(CPPPATH=["#thirdparty/freetype/include"])
if env["builtin_graphite"] and freetype_enabled and env["graphite"]: