summaryrefslogtreecommitdiff
path: root/modules/text_server_fb/SCsub
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-07-31 22:52:59 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-07-31 22:52:59 +0300
commitb54c5c2683f9935f4ea72076632e1d41f1ee86ee (patch)
tree632e251692b4831a3465b3f3d9c267fa49d3329d /modules/text_server_fb/SCsub
parent7686cfec64a9cbfe1c27bfa4f8b1eaf43755830e (diff)
[TextServer] Ensure that built-in library headers are always included before system header, add HarfBuzz version checks for optional features.
Diffstat (limited to 'modules/text_server_fb/SCsub')
-rw-r--r--modules/text_server_fb/SCsub4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/text_server_fb/SCsub b/modules/text_server_fb/SCsub
index 121f38fcd5..ca9322e450 100644
--- a/modules/text_server_fb/SCsub
+++ b/modules/text_server_fb/SCsub
@@ -9,9 +9,9 @@ msdfgen_enabled = env.module_check_dependencies("text_server_fb", ["msdfgen"], T
env_text_server_fb = env_modules.Clone()
if env["builtin_msdfgen"] and msdfgen_enabled:
- env_text_server_fb.Append(CPPPATH=["#thirdparty/msdfgen"])
+ env_text_server_fb.Prepend(CPPPATH=["#thirdparty/msdfgen"])
if env["builtin_freetype"] and freetype_enabled:
- env_text_server_fb.Append(CPPPATH=["#thirdparty/freetype/include"])
+ env_text_server_fb.Prepend(CPPPATH=["#thirdparty/freetype/include"])
env_text_server_fb.add_source_files(env.modules_sources, "*.cpp")