summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-06-11 13:55:44 +0200
committerGitHub <noreply@github.com>2019-06-11 13:55:44 +0200
commitc499f1475f1c37c6d83985320a9e98a3d2711a2b (patch)
tree8ceaa6bc1d5deb40b7c5fc998041ecd63ad122d9 /modules
parentf0bacf360dbb6ce3781356438b2fa7067250d27c (diff)
parent99acec63f175fecd7172c927263ed3787cb082d6 (diff)
Merge pull request #29418 from AndreaCatania/upbul
Updated Bullet version to the actual bullet master commit
Diffstat (limited to 'modules')
-rw-r--r--modules/bullet/SCsub6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/bullet/SCsub b/modules/bullet/SCsub
index 16d694c238..2fe7a1b4c0 100644
--- a/modules/bullet/SCsub
+++ b/modules/bullet/SCsub
@@ -186,7 +186,11 @@ if env['builtin_bullet']:
thirdparty_sources = [thirdparty_dir + file for file in bullet2_src]
- env_bullet.Prepend(CPPPATH=[thirdparty_dir])
+ # Treat Bullet headers as system headers to avoid raising warnings. Not supported on MSVC.
+ if not env.msvc:
+ env_bullet.Append(CPPFLAGS=['-isystem', Dir(thirdparty_dir).path])
+ else:
+ env_bullet.Prepend(CPPPATH=[thirdparty_dir])
# if env['target'] == "debug" or env['target'] == "release_debug":
# env_bullet.Append(CPPFLAGS=['-DBT_DEBUG'])