vgui_support: wscript: don't continue configuration if vgui_supoport can't be built

This commit is contained in:
Alibek Omarov 2019-04-08 16:59:40 +03:00
parent 041315da44
commit 6a6d21ed32

View File

@ -32,7 +32,6 @@ 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')
@ -41,7 +40,6 @@ 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')
@ -54,6 +52,9 @@ def configure(conf):
else:
conf.end_msg('yes')
if conf.env.NO_VGUI:
return
if conf.options.VGUI_DEV:
conf.start_msg('Configuring VGUI by provided path')
conf.env.VGUI_DEV = conf.options.VGUI_DEV