From c4a1c8fbeb86396788866d6dc3eb1b5b5dc3f67d Mon Sep 17 00:00:00 2001 From: "Guillermo S. Romero" Date: Tue, 25 Aug 2009 22:56:08 +0000 Subject: Unconditionally define WITH_OPENEXR. Compiling openexr_api.cpp requires WITH_OPENEXR, to get the right part of the openexr_multi.h file. Broken since r22739. --- source/blender/imbuf/intern/openexr/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/imbuf/intern') diff --git a/source/blender/imbuf/intern/openexr/Makefile b/source/blender/imbuf/intern/openexr/Makefile index f77e3723e8a..083089b11d5 100644 --- a/source/blender/imbuf/intern/openexr/Makefile +++ b/source/blender/imbuf/intern/openexr/Makefile @@ -35,6 +35,9 @@ include nan_compile.mk CFLAGS += $(LEVEL_1_C_WARNINGS) +# If compiling the API, WITH_OPENEXR must be set. +CPPFLAGS += -DWITH_OPENEXR + CPPFLAGS += -I../../../makesdna CPPFLAGS += -I../../../blenkernel CPPFLAGS += -I../../../blenlib -- cgit v1.2.3