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:
@@ -670,6 +670,7 @@ macro(remove_strict_flags)
|
||||
"-Wshadow"
|
||||
"-Wdouble-promotion"
|
||||
"-Wold-style-definition"
|
||||
"-Wextra"
|
||||
"-Werror=[^ ]+"
|
||||
"-Werror"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user