cmake
authorCampbell Barton <ideasman42@gmail.com>
Mon, 18 Apr 2011 07:11:40 +0000 (07:11 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 18 Apr 2011 07:11:40 +0000 (07:11 +0000)
- allow building blenderplayer with redcode.
- when ffmpeg is enabled remove strict compiler errors for imbuf and blenkernel since its hard to avoid these warnings across ffmpeg versions.

source/blender/blenkernel/CMakeLists.txt
source/blender/imbuf/CMakeLists.txt
source/blenderplayer/CMakeLists.txt

index aaa596862c5040daac85dbeaed39335130e9d5a5..47d393559f4319d94377869d3ef017bb1524a4ba 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
+if(WITH_CODEC_FFMPEG)
+       # FFMPEG gives warnigns which are hard to avoid across multiple versions.
+       remove_strict_flags()
+endif()
+
 set(INC 
        .
        ../avi
index c2c9c89ad104caf71fea79bce8e7211a2bd6fa9b..6404ae3de75c3b6fa7c97401507b40d0c1e250ce 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
+if(WITH_CODEC_FFMPEG)
+       # FFMPEG gives warnigns which are hard to avoid across multiple versions.
+       remove_strict_flags()
+endif()
+
 set(INC 
        .
        ../avi
index 5b7a08be2fd2ffe0abaf0bffa7f57634b9bd86d6..1f796e86693a713f2b6ced0187608461b3aacb55 100644 (file)
@@ -113,7 +113,8 @@ endif()
                bf_blenlib 
                bf_imbuf_cineon
                bf_imbuf_openexr 
-               extern_openjpeg 
+               extern_openjpeg
+               extern_redcode
                bf_imbuf_dds
                bf_readblenfile 
                bf_dna