From 1320dda5c3af8219a3735993fb2e914b8fd3231a Mon Sep 17 00:00:00 2001 From: Thomas Hahn Date: Thu, 24 Aug 2023 12:38:37 -0400 Subject: [PATCH] [cmake] Change target for compiler warnings --- CMakeLists.txt | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 38b0e81..2b317f4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,18 +111,14 @@ target_compile_options(${PROJECT_NAME}_warnings $<$:-Wno-comma-subscript> $<$:-Wshadow=local> $<$:-Wno-attributes> - $<$:-Wno-deprecated-comma-subscript> - $<$:-Wno-unknown-warning-option> - $<$:-Wshadow> - $<$:-Wno-gcc-compat> - $<$:-Wno-c++20-extensions> - $<$:-Wno-c++20-compat> - $<$:-Wno-deprecated-comma-subscript> - $<$:-Wno-unknown-warning-option> - $<$:-Wshadow> - $<$:-Wno-gcc-compat> - $<$:-Wno-c++20-extensions> - $<$:-Wno-c++20-compat> + $<$:-Wno-deprecated-declarations> + $<$:-Wno-deprecated-comma-subscript> + $<$:-Wno-unknown-warning-option> + $<$:-Wshadow> + $<$:-Wno-gcc-compat> + $<$:-Wno-c++20-extensions> + $<$:-Wno-c++20-compat> + $<$:-Wno-tautological-constant-compare> ) # #############