diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-03-10 08:01:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 08:01:04 +0100 |
commit | e19da630091a1837d9ed8ce6602befe6fe8dd46d (patch) | |
tree | 77fb520fba0676e08967232db2c05dc0665470a6 /platform/linuxbsd/detect.py | |
parent | 1571c982cac806ecd96f27c35f6ff0942f94b5a5 (diff) | |
parent | 3d7f1555865a981b7144becfc58d3f3f34362f5f (diff) | |
download | redot-engine-e19da630091a1837d9ed8ce6602befe6fe8dd46d.tar.gz |
Merge pull request #58946 from akien-mga/remove-unused-bullet-code
Remove unused Bullet module and thirdparty code
Diffstat (limited to 'platform/linuxbsd/detect.py')
-rw-r--r-- | platform/linuxbsd/detect.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py index ab643b254a..03c85d09ad 100644 --- a/platform/linuxbsd/detect.py +++ b/platform/linuxbsd/detect.py @@ -261,27 +261,6 @@ def configure(env): if not env["builtin_libpng"]: env.ParseConfig("pkg-config libpng16 --cflags --libs") - if not env["builtin_bullet"]: - # We need at least version 2.90 - min_bullet_version = "2.90" - - import subprocess - - bullet_version = subprocess.check_output(["pkg-config", "bullet", "--modversion"]).strip() - if str(bullet_version) < min_bullet_version: - # Abort as system bullet was requested but too old - print( - "Bullet: System version {0} does not match minimal requirements ({1}). Aborting.".format( - bullet_version, min_bullet_version - ) - ) - sys.exit(255) - env.ParseConfig("pkg-config bullet --cflags --libs") - - if False: # not env['builtin_assimp']: - # FIXME: Add min version check - env.ParseConfig("pkg-config assimp --cflags --libs") - if not env["builtin_enet"]: env.ParseConfig("pkg-config libenet --cflags --libs") |