Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>2009-08-26 02:56:08 +0400
committerGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>2009-08-26 02:56:08 +0400
commitc4a1c8fbeb86396788866d6dc3eb1b5b5dc3f67d (patch)
tree49d6219a37061464ec73cb01a3b9d151b10aab2a /source/blender/imbuf/intern
parent0a23895f95382a8c6d5c36bc8b36802c4474eb2e (diff)
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.
Diffstat (limited to 'source/blender/imbuf/intern')
-rw-r--r--source/blender/imbuf/intern/openexr/Makefile3
1 files changed, 3 insertions, 0 deletions
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