Cycles: svn merge -r41225:41232 ^/trunk/blender
[blender.git] / source / blender / blenkernel / CMakeLists.txt
index 1930e72..e902fb3 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
@@ -299,10 +304,6 @@ if(WITH_CODEC_FFMPEG)
                ${FFMPEG_INCLUDE_DIRS}
        )
        add_definitions(-DWITH_FFMPEG)
-
-       remove_strict_flags_file(
-               intern/writeffmpeg.c
-       )
 endif()
 
 if(WITH_PYTHON)