2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-26 03:39:16 +01:00

wscript: conf.define instead of directly appending to DEFINES

This commit is contained in:
Alibek Omarov 2019-10-11 08:55:01 +03:00
parent 78baf568ae
commit 4705683ebc

View File

@ -233,7 +233,7 @@ def configure(conf):
# check if we can use C99 tgmath
if conf.check_cc(header_name='tgmath.h', mandatory=False):
conf.env.append_unique('DEFINES', 'HAVE_TGMATH_H')
conf.env.define('HAVE_TGMATH_H', 1)
conf.env.DEDICATED = conf.options.DEDICATED
# we don't need game launcher on dedicated