diff --git a/cmake/warnings.cmake b/cmake/warnings.cmake index 9d00e268b..0f8dd8756 100644 --- a/cmake/warnings.cmake +++ b/cmake/warnings.cmake @@ -72,6 +72,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU") function(add_cxx_compile_options option) add_compile_options("$<$,CXX>:${option}>") endfunction() + add_compile_definitions("--Wno-#warnings") add_cxx_compile_options(-Wstrict-overflow=1) add_cxx_compile_options(-Wduplicated-cond) add_cxx_compile_options(-Wdisabled-optimization)