enable truetype fonts for text objects when building with the original
[blender-staging.git] / source / blender / blenlib / intern / Makefile
index 626f30d9201c2924ceb517f6f6189b5822b3a583..9067b98d2708e4671c78a3ad5848935cefd01ad2 100644 (file)
@@ -49,5 +49,10 @@ CPPFLAGS += -I..
 # path to the guarded memory allocator
 CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
 # path to freetype font stuff
+CPPFLAGS += -I$(NAN_FREETYPE)/include
 CPPFLAGS += -I$(NAN_FREETYPE)/include/freetype2
 CPPFLAGS += -I../../include/
+
+ifdef WITH_FREETYPE2
+       CPPFLAGS += -DWITH_FREETYPE2
+endif