mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
fix to freetype detection
This commit is contained in:
parent
682578f3b3
commit
751202768c
@ -131,8 +131,11 @@ def configure(env):
|
||||
env.ParseConfig('pkg-config openssl --cflags --libs')
|
||||
|
||||
|
||||
env.ParseConfig('pkg-config freetype2 --cflags --libs')
|
||||
env.Append(CCFLAGS=['-DFREETYPE_ENABLED'])
|
||||
if (env["freetype"]=="yes"):
|
||||
env.ParseConfig('pkg-config freetype2 --cflags --libs')
|
||||
|
||||
if (env["freetype"]!="no"):
|
||||
env.Append(CCFLAGS=['-DFREETYPE_ENABLED'])
|
||||
|
||||
|
||||
env.Append(CPPFLAGS=['-DOPENGL_ENABLED','-DGLEW_ENABLED'])
|
||||
|
Loading…
Reference in New Issue
Block a user