mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Update to bullet master (2.90)
This commit is contained in:
parent
43f0767390
commit
3e7db60d56
56 changed files with 4403 additions and 858 deletions
|
@ -217,15 +217,17 @@ def configure(env):
|
|||
env.ParseConfig("pkg-config libpng16 --cflags --libs")
|
||||
|
||||
if not env["builtin_bullet"]:
|
||||
# We need at least version 2.89
|
||||
# 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) < "2.89":
|
||||
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, "2.89"
|
||||
bullet_version, min_bullet_version
|
||||
)
|
||||
)
|
||||
sys.exit(255)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue