You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-07 19:53:17 +00:00
Update freetype to 2.8
This commit is contained in:
@@ -34,10 +34,13 @@ if (env['builtin_freetype'] != 'no'):
|
||||
"src/base/fttype1.c",
|
||||
"src/base/ftwinfnt.c",
|
||||
"src/bdf/bdf.c",
|
||||
"src/bzip2/ftbzip2.c",
|
||||
"src/cache/ftcache.c",
|
||||
"src/cff/cff.c",
|
||||
"src/cid/type1cid.c",
|
||||
"src/gxvalid/gxvalid.c",
|
||||
"src/gzip/ftgzip.c",
|
||||
"src/lzw/ftlzw.c",
|
||||
"src/otvalid/otvalid.c",
|
||||
"src/pcf/pcf.c",
|
||||
"src/pfr/pfr.c",
|
||||
@@ -77,6 +80,9 @@ if (env['builtin_freetype'] != 'no'):
|
||||
break
|
||||
if not inserted:
|
||||
env.Append(LIBS=[lib])
|
||||
env.Append(CCFLAGS=['-DFT2_BUILD_LIBRARY'])
|
||||
if (env['target'] != 'release'):
|
||||
env.Append(CCFLAGS=['-DZLIB_DEBUG'])
|
||||
|
||||
# Godot source files
|
||||
env.add_source_files(env.modules_sources, "*.cpp")
|
||||
|
||||
Reference in New Issue
Block a user