mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
fix to builtin freetype defines on linux
This commit is contained in:
parent
751202768c
commit
56c907ad04
@ -134,8 +134,14 @@ def configure(env):
|
||||
if (env["freetype"]=="yes"):
|
||||
env.ParseConfig('pkg-config freetype2 --cflags --libs')
|
||||
|
||||
|
||||
if (env["freetype"]!="no"):
|
||||
env.Append(CCFLAGS=['-DFREETYPE_ENABLED'])
|
||||
if (env["freetype"]=="builtin"):
|
||||
env.Append(CPPPATH=['#tools/freetype'])
|
||||
env.Append(CPPPATH=['#tools/freetype/freetype/include'])
|
||||
|
||||
|
||||
|
||||
|
||||
env.Append(CPPFLAGS=['-DOPENGL_ENABLED','-DGLEW_ENABLED'])
|
||||
|
Loading…
Reference in New Issue
Block a user