Test with newer compilers in CI
[alexxy/gromacs.git] / src / external / googletest / googletest / cmake / internal_utils.cmake
index 8c1f9ba99cf50574f669dd7deba324dce40595f3..8d66ebd047ad495870fa21734419e79b4f13c22e 100644 (file)
@@ -102,6 +102,7 @@ macro(config_compiler_and_linker)
     set(cxx_base_flags "-Wall -Wshadow -Werror")
     if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0.0)
       set(cxx_base_flags "${cxx_base_flags} -Wno-error=dangling-else")
+      set(cxx_base_flags "${cxx_base_flags} -Wno-maybe-uninitialized")
     endif()
     set(cxx_exception_flags "-fexceptions")
     set(cxx_no_exception_flags "-fno-exceptions")