diff options
Diffstat (limited to 'source/blender/imbuf/CMakeLists.txt')
-rw-r--r-- | source/blender/imbuf/CMakeLists.txt | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source/blender/imbuf/CMakeLists.txt b/source/blender/imbuf/CMakeLists.txt index a03d6ce280d..1b190ae96de 100644 --- a/source/blender/imbuf/CMakeLists.txt +++ b/source/blender/imbuf/CMakeLists.txt @@ -23,6 +23,11 @@ # # ***** 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 @@ -155,12 +160,6 @@ if(WITH_CODEC_FFMPEG) ${FFMPEG_INCLUDE_DIRS} ) add_definitions(-DWITH_FFMPEG) - - remove_strict_flags_file( - intern/indexer.c - intern/util.c - intern/anim_movie.c - ) endif() if(WITH_IMAGE_DDS) |