CMake: move MSVC warnings to central location

This commit is contained in:
Campbell Barton
2017-09-28 12:59:28 +10:00
parent 1f18523edf
commit 0ae1a1ed48
2 changed files with 3 additions and 3 deletions

View File

@@ -1472,6 +1472,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "MSVC")
"/wd4800" # forcing value to bool 'true' or 'false'
# errors:
"/we4013" # 'function' undefined; assuming extern returning int
"/we4133" # incompatible pointer types
"/we4431" # missing type specifier - int assumed
)