diff options
author | Ankit Meel <ankitjmeel@gmail.com> | 2021-04-23 23:24:30 +0300 |
---|---|---|
committer | Ankit Meel <ankitjmeel@gmail.com> | 2021-04-23 23:24:30 +0300 |
commit | aa95f8019e4204ea50210add1b2c2ed1934b92c9 (patch) | |
tree | a656569b0c171c7d162b139fab6fe6650f6aed02 /source/blender/compositor/CMakeLists.txt | |
parent | c46367518827af5aebeb6377d0d04b59432b9107 (diff) |
macOS: Fix unknown -Wsuggest-override warning
Added in rB7cef01b090c4c2d2703274edb91886ae37d3ce82
and rB87bfa2b207b90b5e34ebd835a23c2a82afbed878
Reviewed by: jbakker, #platform_macos
Differential Revision: https://developer.blender.org/D11012
Diffstat (limited to 'source/blender/compositor/CMakeLists.txt')
-rw-r--r-- | source/blender/compositor/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/CMakeLists.txt b/source/blender/compositor/CMakeLists.txt index 75e7408b0a0..65391794c12 100644 --- a/source/blender/compositor/CMakeLists.txt +++ b/source/blender/compositor/CMakeLists.txt @@ -608,7 +608,7 @@ endif() blender_add_lib(bf_compositor "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") -if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang") +if(CXX_WARN_NO_SUGGEST_OVERRIDE) target_compile_options(bf_compositor PRIVATE "-Wsuggest-override") endif() |