From ab74ae5e104f72fa957c1712707a06a781a974a6 Mon Sep 17 00:00:00 2001 From: Dominic Hamon Date: Mon, 19 Jul 2021 12:11:13 +0100 Subject: [PATCH] downgrade warnings for googletest (#1203) fixes #1202. sort of. --- cmake/GoogleTest.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/GoogleTest.cmake b/cmake/GoogleTest.cmake index dd611fc8..c013fb68 100644 --- a/cmake/GoogleTest.cmake +++ b/cmake/GoogleTest.cmake @@ -29,6 +29,9 @@ set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) include(${GOOGLETEST_PREFIX}/googletest-paths.cmake) +# TODO(dominic): See #1202. Remove if https://github.com/google/googletest/pull/3492 lands upstream. +add_compile_options(-w) + # Add googletest directly to our build. This defines # the gtest and gtest_main targets. add_subdirectory(${GOOGLETEST_SOURCE_DIR}