diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-09-28 05:59:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-09-28 06:41:54 +0300 |
commit | 0ae1a1ed48863403fed1e2de72313d231bd56f56 (patch) | |
tree | d2ca9f2d26c50da4a72a52c3927681bbfe7aef02 /build_files/cmake/platform/platform_win32_msvc.cmake | |
parent | 1f18523edfb07455d5c8196170a513db7b3cae9f (diff) |
CMake: move MSVC warnings to central location
Diffstat (limited to 'build_files/cmake/platform/platform_win32_msvc.cmake')
-rw-r--r-- | build_files/cmake/platform/platform_win32_msvc.cmake | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/build_files/cmake/platform/platform_win32_msvc.cmake b/build_files/cmake/platform/platform_win32_msvc.cmake index 26568abd9bf..47dd0edc8ba 100644 --- a/build_files/cmake/platform/platform_win32_msvc.cmake +++ b/build_files/cmake/platform/platform_win32_msvc.cmake @@ -97,9 +97,8 @@ add_definitions(-D_WIN32_WINNT=0x600) set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP TRUE) include(InstallRequiredSystemLibraries) -#4133 treat incompatible pointer types as error -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /nologo /J /Gd /MP /EHsc /we4133") -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /nologo /J /Gd /MP /we4133") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /nologo /J /Gd /MP /EHsc") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /nologo /J /Gd /MP") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd") set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /MTd") |