summaryrefslogtreecommitdiff
path: root/modules/text_server_fb/SCsub
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-08-01 12:03:20 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-08-01 13:22:29 +0300
commit366e2d893e14826c3669e14911efa745d690d074 (patch)
tree130932f5635567c7ad6f5e84cdeaebdf6a020e5f /modules/text_server_fb/SCsub
parent90dae713a1d3785b61607c98995c05238b574ac1 (diff)
[TextServer] Add a build warning when building with external FreeType without Brotli support.
Diffstat (limited to 'modules/text_server_fb/SCsub')
-rw-r--r--modules/text_server_fb/SCsub1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/text_server_fb/SCsub b/modules/text_server_fb/SCsub
index ca9322e450..8f626f02b8 100644
--- a/modules/text_server_fb/SCsub
+++ b/modules/text_server_fb/SCsub
@@ -12,6 +12,7 @@ if env["builtin_msdfgen"] and msdfgen_enabled:
env_text_server_fb.Prepend(CPPPATH=["#thirdparty/msdfgen"])
if env["builtin_freetype"] and freetype_enabled:
+ env_text_server_fb.Append(CPPDEFINES=["FT_CONFIG_OPTION_USE_BROTLI"])
env_text_server_fb.Prepend(CPPPATH=["#thirdparty/freetype/include"])
env_text_server_fb.add_source_files(env.modules_sources, "*.cpp")