diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-06-09 14:30:16 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-06-09 14:30:16 +0400 |
commit | ed12137ff5fc3448f6aa0c9dcdc27868445a72a2 (patch) | |
tree | b5c47fba9d9dba39740c5f1a3fd6c82f28f26946 /source/blender/makesrna/intern/Makefile | |
parent | d36a1b4f06698bcf031f06f7f289ca4636f42c88 (diff) |
2.5:
* Fix compilation with FFMPEG.
* Ensure FFMPEG and similar flags are set during RNA compile,
so the right output formats show.
Diffstat (limited to 'source/blender/makesrna/intern/Makefile')
-rw-r--r-- | source/blender/makesrna/intern/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/Makefile b/source/blender/makesrna/intern/Makefile index 241067692ff..cd1f27f43b7 100644 --- a/source/blender/makesrna/intern/Makefile +++ b/source/blender/makesrna/intern/Makefile @@ -53,6 +53,26 @@ CPPFLAGS += -I../../editors/include CPPFLAGS += -I.. CPPFLAGS += -I. +ifeq ($(WITH_FFMPEG),true) + CPPFLAGS += -DWITH_FFMPEG +endif + +ifeq ($(WITH_OPENEXR), true) + CPPFLAGS += -DWITH_OPENEXR +endif + +ifeq ($(WITH_DDS), true) + CPPFLAGS += -DWITH_DDS +endif + +ifeq ($(WITH_OPENJPEG), true) + CPPFLAGS += -DWITH_OPENJPEG +endif + +ifeq ($(WITH_QUICKTIME), true) + CPPFLAGS += -DWITH_QUICKTIME +endif + ifeq ($(OS),windows) # Windows needs these extra libs because of winstuff... It is not # _really_ needed, but it is the easiest fix for now. If you have |