vgui_support: wscript: don't test if current platform supports VGUI if one of checks has failed already

This commit is contained in:
Alibek Omarov 2019-06-17 08:21:56 +03:00
parent f2c927906f
commit 75e690791d

View File

@ -32,6 +32,7 @@ def configure(conf):
conf.end_msg('no')
Logs.warn('vgui is not supported on this CPU: ' + str(conf.env.DEST_CPU))
conf.env.NO_VGUI = True
return
else:
conf.end_msg('yes')
@ -40,6 +41,7 @@ def configure(conf):
conf.end_msg('no')
Logs.warn('vgui is not supported on this OS: ' + str(conf.env.DEST_OS))
conf.env.NO_VGUI = True
return
else:
conf.end_msg('yes')
@ -49,6 +51,7 @@ def configure(conf):
# we have ABI incompatibility ONLY on MinGW
Logs.warn('vgui_support can\'t be built with MinGW')
conf.env.NO_VGUI = True
return
else:
conf.end_msg('yes')