aom_configure.cmake: add -Wc++14-extensions
the snapshot of googletest and the test files themselves are targeting
c++11 currently.
Change-Id: Ibd146b2aea8b3768a3f40eeaf87eca515092337b
diff --git a/build/cmake/aom_configure.cmake b/build/cmake/aom_configure.cmake
index 26c521e..7a95cba 100644
--- a/build/cmake/aom_configure.cmake
+++ b/build/cmake/aom_configure.cmake
@@ -314,6 +314,7 @@
add_compiler_flag_if_supported("-Wuninitialized")
add_compiler_flag_if_supported("-Wunused")
add_compiler_flag_if_supported("-Wvla")
+ add_cxx_flag_if_supported("-Wc++14-extensions")
add_cxx_flag_if_supported("-Wc++17-extensions")
add_cxx_flag_if_supported("-Wc++20-extensions")