diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-18 11:11:40 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-18 11:11:40 +0400 |
commit | 75e1104d92002a79a5363d27f151c45574f93ecc (patch) | |
tree | 20d271107179f17e440488c62f80f87a43629035 /source/blender/blenkernel/CMakeLists.txt | |
parent | ea5baccbf8bfe737d6f5d4bd17faa2ff7ab9e8bd (diff) |
cmake
- 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.
Diffstat (limited to 'source/blender/blenkernel/CMakeLists.txt')
-rw-r--r-- | source/blender/blenkernel/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenkernel/CMakeLists.txt b/source/blender/blenkernel/CMakeLists.txt index aaa596862c5..47d393559f4 100644 --- a/source/blender/blenkernel/CMakeLists.txt +++ b/source/blender/blenkernel/CMakeLists.txt @@ -24,6 +24,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 |