meson: hide warnings from external project `gtest`
authorEric Engestrom <eric.engestrom@intel.com>
Wed, 31 Oct 2018 16:40:50 +0000 (16:40 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Wed, 31 Oct 2018 18:20:25 +0000 (18:20 +0000)
gtest is an external project that is copied in this tree for technical
reasons, but isn't maintained by us, so its warnings are irrelevant.

Cc: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/gtest/meson.build

index 91a49240416951731eb90dbefaef2c6cd6c2f6d9..23c21423d008d71fc8f9fdc9fcead37eea886626 100644 (file)
@@ -22,6 +22,7 @@ libgtest = static_library(
   'gtest',
   files('src/gtest-all.cc', 'src/gtest_main.cc'),
   include_directories : include_directories('include'),
+  cpp_args : '-w',
   build_by_default : false,
 )