mirror of
https://github.com/godotengine/godot.git
synced 2025-03-13 23:41:08 +08:00
[TextServer] Fix build with disabled graphite.
This commit is contained in:
parent
4a96fce801
commit
634c2fbcae
@ -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"]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user