diff options
| author | Juan Linietsky | 2015-09-10 22:15:00 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-09-10 22:15:00 -0300 |
| commit | 56c907ad040b102c1d74d2d54190238989f1a819 (patch) | |
| tree | 3c3b41cb28965dbb51cbbb21090fceae038186a1 /platform/x11/detect.py | |
| parent | 751202768c7a396d3f480775225d09d42689b8db (diff) | |
| download | godot-56c907ad040b102c1d74d2d54190238989f1a819.tar.gz godot-56c907ad040b102c1d74d2d54190238989f1a819.tar.zst godot-56c907ad040b102c1d74d2d54190238989f1a819.zip | |
fix to builtin freetype defines on linux
Diffstat (limited to '')
| -rw-r--r-- | platform/x11/detect.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py index 2701a41a5..33e8fd03e 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -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']) |
