From c0a4f04cd039ad4fbcee34f5844fe6765e525cc0 Mon Sep 17 00:00:00 2001 From: Carson Radtke Date: Mon, 25 Nov 2024 11:03:11 -0600 Subject: [PATCH] suppress incorrect warning when compiling gtest --- tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 9de2519..928cdba 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -110,6 +110,7 @@ if(MSVC) # MSVC or simulating MSVC -Wno-shift-sign-overflow # GTest gtest-port.h -Wno-undef # GTest -Wno-used-but-marked-unused # GTest EXPECT_DEATH + -Wno-switch-default # GTest EXPECT_DEATH $<$: # no support for [[maybe_unused]] -Wno-unused-member-function -Wno-unused-variable