[build] CMake: add some compiler flags from native-utils (#6825)

This commit is contained in:
Gold856
2024-07-13 00:51:55 -04:00
committed by GitHub
parent 19c28c2a76
commit e00bb2f07b
5 changed files with 13 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ macro(wpilib_target_warnings target)
-pedantic
-Wextra
-Wno-unused-parameter
-Wformat=2
${WPILIB_TARGET_WARNINGS}
)
if(NOT NO_WERROR)