From 07f833d6b26d813fcabdb890279b010adee726a7 Mon Sep 17 00:00:00 2001 From: Dominic Hamon Date: Wed, 11 Aug 2021 15:10:02 +0100 Subject: [PATCH] so much for googletest not failing any more --- cmake/GoogleTest.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/GoogleTest.cmake b/cmake/GoogleTest.cmake index dd611fc8..305eb8df 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) +# googletest doesn't seem to want to stay build warning clean so let's not hurt ourselves. +add_compile_options(-w) + # Add googletest directly to our build. This defines # the gtest and gtest_main targets. add_subdirectory(${GOOGLETEST_SOURCE_DIR}