mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
makepanda: forbid building for pre-10.9 versions (as per #300)
This commit is contained in:
parent
f1575eafbc
commit
4bc97420be
@ -275,11 +275,15 @@ def parseopts(args):
|
|||||||
usage("Invalid setting for OSXTARGET")
|
usage("Invalid setting for OSXTARGET")
|
||||||
|
|
||||||
if OSXTARGET < (10, 9):
|
if OSXTARGET < (10, 9):
|
||||||
|
warn_prefix = "%sERROR:%s " % (GetColor("red"), GetColor())
|
||||||
print("=========================================================================")
|
print("=========================================================================")
|
||||||
print("WARNING: Support for macOS versions before 10.9 has been discontinued.")
|
print(warn_prefix + "Support for macOS versions before 10.9 has been discontinued.")
|
||||||
print("WARNING: For more information, or any questions, please visit:")
|
print(warn_prefix + "For more information, or any questions, please visit:")
|
||||||
print(" https://github.com/panda3d/panda3d/issues/300")
|
print(" https://github.com/panda3d/panda3d/issues/300")
|
||||||
print("=========================================================================")
|
print("=========================================================================")
|
||||||
|
sys.stdout.flush()
|
||||||
|
time.sleep(1.0)
|
||||||
|
sys.exit(1)
|
||||||
else:
|
else:
|
||||||
OSXTARGET = None
|
OSXTARGET = None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user