diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-14 11:25:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-14 11:25:54 +0400 |
commit | 6a51379bf7a6c0aaa9fcb1c4b60a33e903e75931 (patch) | |
tree | ecdfeae344ff9fb467f3d1d5ed587c30f0ae3386 /build_files | |
parent | 21dc93d275be257d9777d772a5325b6d704b1cb2 (diff) |
tweaks to clang so blender can build with -Werror
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/cmake/macros.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index f3e00be4c53..0b952372719 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -504,6 +504,9 @@ macro(remove_strict_flags) remove_cc_flag("-Wunused-variable") remove_cc_flag("-Werror=[^ ]+") remove_cc_flag("-Werror") + + # negate flags implied by '-Wall' + add_cc_flag("${CC_REMOVE_STRICT_FLAGS}") endif() if(MSVC) |