mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-29 08:14:15 +00:00
vgui_support: wscript: don't test if current platform supports VGUI if one of checks has failed already
This commit is contained in:
parent
f2c927906f
commit
75e690791d
@ -32,6 +32,7 @@ def configure(conf):
|
|||||||
conf.end_msg('no')
|
conf.end_msg('no')
|
||||||
Logs.warn('vgui is not supported on this CPU: ' + str(conf.env.DEST_CPU))
|
Logs.warn('vgui is not supported on this CPU: ' + str(conf.env.DEST_CPU))
|
||||||
conf.env.NO_VGUI = True
|
conf.env.NO_VGUI = True
|
||||||
|
return
|
||||||
else:
|
else:
|
||||||
conf.end_msg('yes')
|
conf.end_msg('yes')
|
||||||
|
|
||||||
@ -40,6 +41,7 @@ def configure(conf):
|
|||||||
conf.end_msg('no')
|
conf.end_msg('no')
|
||||||
Logs.warn('vgui is not supported on this OS: ' + str(conf.env.DEST_OS))
|
Logs.warn('vgui is not supported on this OS: ' + str(conf.env.DEST_OS))
|
||||||
conf.env.NO_VGUI = True
|
conf.env.NO_VGUI = True
|
||||||
|
return
|
||||||
else:
|
else:
|
||||||
conf.end_msg('yes')
|
conf.end_msg('yes')
|
||||||
|
|
||||||
@ -49,6 +51,7 @@ def configure(conf):
|
|||||||
# we have ABI incompatibility ONLY on MinGW
|
# we have ABI incompatibility ONLY on MinGW
|
||||||
Logs.warn('vgui_support can\'t be built with MinGW')
|
Logs.warn('vgui_support can\'t be built with MinGW')
|
||||||
conf.env.NO_VGUI = True
|
conf.env.NO_VGUI = True
|
||||||
|
return
|
||||||
else:
|
else:
|
||||||
conf.end_msg('yes')
|
conf.end_msg('yes')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user