1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-04 19:21:46 +00:00

Merge pull request #67585 from bruvzg/fix_no_graphite_build

[TextServer] Fix build with disabled graphite.
This commit is contained in:
Rémi Verschelde
2022-10-31 14:22:32 +01:00

View File

@@ -131,9 +131,14 @@ if env["builtin_harfbuzz"]:
env_harfbuzz.Append(
CCFLAGS=[
"-DHAVE_FREETYPE",
"-DHAVE_GRAPHITE2",
]
)
if env["graphite"]:
env_harfbuzz.Append(
CCFLAGS=[
"-DHAVE_GRAPHITE2",
]
)
if env["builtin_freetype"]:
env_harfbuzz.Prepend(CPPPATH=["#thirdparty/freetype/include"])
if env["builtin_graphite"] and env["graphite"]: