mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
wscript: conf.define instead of directly appending to DEFINES
This commit is contained in:
2
wscript
2
wscript
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user