2.5 compile errors.
[blender-staging.git] / source / blender / editors / space_file / Makefile
index 7a41f66fb1d8ab50b095329049c9627b1c356b4c..c8f2af9c2e8f83d930226f1877083e73d6d0363d 100644 (file)
@@ -37,7 +37,6 @@ CFLAGS += $(LEVEL_1_C_WARNINGS)
 
 CPPFLAGS += -I$(NAN_GLEW)/include
 CPPFLAGS += -I$(OPENGL_HEADERS)
-CPPFLAGS += -I$(NAN_BMFONT)/include
 
 # not very neat....
 CPPFLAGS += -I../../windowmanager
@@ -54,3 +53,8 @@ CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
 # own include 
 
 CPPFLAGS += -I../include 
+
+ifeq ($(WITH_OPENJPEG),true)
+       CPPFLAGS += -DWITH_OPENJPEG
+endif
+