diff options
author | Ray Molenkamp <github@lazydodo.com> | 2020-03-11 23:11:19 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2020-03-11 23:11:19 +0300 |
commit | 72461c09b472686cb659223cc628a2b1c728c35c (patch) | |
tree | 42ff6a8a6d088ed039358f8e3d289ea24a6fb73d /extern/bullet2/CMakeLists.txt | |
parent | 372dcacbe4f3131115166c725820305a6823a5e1 (diff) |
Windows: Clean-up warnings originating from bullet
Bullet currently generates the majority of the warnings
on windows all of them are silly. This patch disables
all warns from bullet for now.
We should revisit this if/when we update bullet
to a newer version.
Reviewed By: sergey brecht
Differential Revision: https://developer.blender.org/D7118
Diffstat (limited to 'extern/bullet2/CMakeLists.txt')
-rw-r--r-- | extern/bullet2/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/extern/bullet2/CMakeLists.txt b/extern/bullet2/CMakeLists.txt index f1bb6a37cbf..5f345c6a901 100644 --- a/extern/bullet2/CMakeLists.txt +++ b/extern/bullet2/CMakeLists.txt @@ -415,4 +415,11 @@ if(CMAKE_COMPILER_IS_GNUCXX) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive") endif() +if(WIN32) + # bullet is responsible for quite a few silly warnings + # repress all of them. Not great, but they really needed + # to sort that out themselves. + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W0") +endif() + blender_add_lib(extern_bullet "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") |