diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-01 04:34:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-01 04:34:09 +0400 |
commit | a5959e767e1fce78fa1876e8791667a377ac51f1 (patch) | |
tree | af85d25750099d24394874c0d99f59f5f89b8f57 /build_files | |
parent | 4e0d8ccf9619f72fb6cbca1d18647f9dff1f0d73 (diff) |
hopefully fix problem with cmake on osx (older gcc version)
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/cmake/macros.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index f767376d122..10f89797754 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -413,8 +413,7 @@ macro(remove_strict_flags) remove_cc_flag("-Werror") # negate flags implied by '-Wall' - add_cc_flag("-Wno-unused-parameter") - add_cc_flag("-Wno-unused-but-set-variable") + add_cc_flag("${CC_REMOVE_STRICT_FLAGS}") endif() if(MSVC) |