Bullet: allow unbundling only if > 2.87
Looks like we are using cutting edge methods which are not even if the current stable 2.87.
This commit is contained in:
parent
a98e9496eb
commit
9ba5fb87f0
@ -87,12 +87,12 @@ def configure(env):
|
||||
env.ParseConfig('pkg-config libpng --cflags --libs')
|
||||
|
||||
if not env['builtin_bullet']:
|
||||
# We need at least version 2.87
|
||||
# We need at least version 2.88
|
||||
import subprocess
|
||||
bullet_version = subprocess.check_output(['pkg-config', 'bullet', '--modversion']).strip()
|
||||
if bullet_version < "2.87":
|
||||
if bullet_version < "2.88":
|
||||
# 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.87"))
|
||||
print("Bullet: System version {0} does not match minimal requirements ({1}). Aborting.".format(bullet_version, "2.88"))
|
||||
sys.exit(255)
|
||||
env.ParseConfig('pkg-config bullet --cflags --libs')
|
||||
|
||||
|
@ -173,12 +173,12 @@ def configure(env):
|
||||
env.ParseConfig('pkg-config libpng --cflags --libs')
|
||||
|
||||
if not env['builtin_bullet']:
|
||||
# We need at least version 2.87
|
||||
# We need at least version 2.88
|
||||
import subprocess
|
||||
bullet_version = subprocess.check_output(['pkg-config', 'bullet', '--modversion']).strip()
|
||||
if bullet_version < "2.87":
|
||||
if bullet_version < "2.88":
|
||||
# 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.87"))
|
||||
print("Bullet: System version {0} does not match minimal requirements ({1}). Aborting.".format(bullet_version, "2.88"))
|
||||
sys.exit(255)
|
||||
env.ParseConfig('pkg-config bullet --cflags --libs')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user