mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-29 00:04:15 +00: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')
|
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')
|
||||||
|
|
||||||
@ -41,7 +40,6 @@ 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')
|
||||||
|
|
||||||
@ -54,6 +52,9 @@ def configure(conf):
|
|||||||
else:
|
else:
|
||||||
conf.end_msg('yes')
|
conf.end_msg('yes')
|
||||||
|
|
||||||
|
if conf.env.NO_VGUI:
|
||||||
|
return
|
||||||
|
|
||||||
if conf.options.VGUI_DEV:
|
if conf.options.VGUI_DEV:
|
||||||
conf.start_msg('Configuring VGUI by provided path')
|
conf.start_msg('Configuring VGUI by provided path')
|
||||||
conf.env.VGUI_DEV = conf.options.VGUI_DEV
|
conf.env.VGUI_DEV = conf.options.VGUI_DEV
|
||||||
|
Loading…
x
Reference in New Issue
Block a user