svn merge -r41266:41287 ^/trunk/blender
[blender-staging.git] / source / blender / blenkernel / CMakeLists.txt
index 83f9f014b0a6740bb4b769f82bf1160e2b55d193..2f2811abd7e86e6f14acc080643e8ae6bcb2f09b 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
@@ -308,6 +303,10 @@ if(WITH_CODEC_FFMPEG)
                ${FFMPEG_INCLUDE_DIRS}
        )
        add_definitions(-DWITH_FFMPEG)
+
+       remove_strict_flags_file(
+               intern/writeffmpeg.c
+       )
 endif()
 
 if(WITH_PYTHON)