'scons blenderlite' failed because blf expected freetype
[blender-staging.git] / source / blender / blenfont / SConscript
index a21150661fa3d219a96ae535fea4a2f6daf950f0..009b96f90b1fe4a654dae65166ec7ca05fa6a4e4 100644 (file)
@@ -8,4 +8,7 @@ incs = '. intern  #/intern/guardedalloc ../blenkernel ../blenlib ../makesdna ../
 
 defs = ''
 
+if env['WITH_BF_INTERNATIONAL']:
+       defs += ' WITH_FREETYPE2'
+
 env.BlenderLib ( 'bf_blenfont', sources, Split(incs), Split(defs), libtype=['core'], priority=[210] )