Browse Source

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

pull/2/head
Alibek Omarov 5 years ago
parent
commit
6a6d21ed32
  1. 5
      vgui_support/wscript

5
vgui_support/wscript

@ -32,7 +32,6 @@ def configure(conf): @@ -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): @@ -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): @@ -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

Loading…
Cancel
Save