mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-11-11 21:19:04 +01:00
vgui_support: wscript: don't continue configuration if vgui_supoport can't be built
This commit is contained in:
parent
041315da44
commit
6a6d21ed32
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user