cmake: remove infinite warning spam on clang

This commit is contained in:
Gauvain 'GovanifY' Roussel-Tarbouriech 2021-06-16 04:19:45 +02:00 committed by Kojin
parent 5a4c05607d
commit b70b3382c7
1 changed files with 1 additions and 2 deletions

View File

@ -22,13 +22,12 @@ set(CommonFlags
-Wno-parentheses
-Wno-missing-braces
-Wno-unknown-pragmas
-Wno-class-memaccess
-DWX_PRECOMP
)
if(GCC_VERSION VERSION_EQUAL "8.0" OR GCC_VERSION VERSION_GREATER "8.0")
# gs is pretty bad at this
set(CommonFlags ${CommonFlags} -Wno-packed-not-aligned)
set(CommonFlags ${CommonFlags} -Wno-packed-not-aligned -Wno-class-memaccess)
endif()
if ("${PGO}" STREQUAL "generate")