diff --git a/cmake/CompileFlags.cmake b/cmake/CompileFlags.cmake index 98a4eaaea5..9510e1f6bf 100644 --- a/cmake/CompileFlags.cmake +++ b/cmake/CompileFlags.cmake @@ -149,6 +149,10 @@ macro(compile_flags) # -flifetime-dse=2 (default since GCC 6) doesn't play # well with our custom pool item allocator "$<$:-flifetime-dse=1>" + + # We have a fight between clang wanting std::move() and gcc not wanting it + # and of course they both warn when the other compiler is happy + "$<$:-Wno-redundant-move>" ) endif()