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"):
|
if (env["freetype"]=="yes"):
|
||||||
env.ParseConfig('pkg-config freetype2 --cflags --libs')
|
env.ParseConfig('pkg-config freetype2 --cflags --libs')
|
||||||
|
|
||||||
|
|
||||||
if (env["freetype"]!="no"):
|
if (env["freetype"]!="no"):
|
||||||
env.Append(CCFLAGS=['-DFREETYPE_ENABLED'])
|
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'])
|
env.Append(CPPFLAGS=['-DOPENGL_ENABLED','-DGLEW_ENABLED'])
|
||||||
|
|
Loading…
Reference in New Issue