diff --git a/CMakeLists.txt b/CMakeLists.txt index c2dfb470..22796f04 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,9 +78,10 @@ target_compile_options(project_warnings INTERFACE -Wall -Wextra - -Wshadow -Wpedantic -Wno-sign-compare + $<$:-Wshadow=local> + $<$:-Wshadow> $<$:-Wno-gcc-compat> )