CMake: exclude "-Wextra" when removing strict flags

Having "extra" warnings caused too many warnings in areas
not actively maintained by Blender developers
(./extern/ and some of ./intern/).
This commit is contained in:
Campbell Barton
2025-06-13 00:52:37 +00:00
parent 858d767413
commit 9422e4ddcf

View File

@@ -670,6 +670,7 @@ macro(remove_strict_flags)
"-Wshadow"
"-Wdouble-promotion"
"-Wold-style-definition"
"-Wextra"
"-Werror=[^ ]+"
"-Werror"
)