fix windows build
gnu++17 doesn't support inline variables but c++17 does
This commit is contained in:
parent
fe9cebc620
commit
e981295e5f
@ -82,6 +82,8 @@ elif env['platform'] == "windows":
|
|||||||
# that way you can run scons in a vs 2017 prompt and it will find all the required tools
|
# that way you can run scons in a vs 2017 prompt and it will find all the required tools
|
||||||
env.Append(ENV=os.environ)
|
env.Append(ENV=os.environ)
|
||||||
|
|
||||||
|
env.Append(CXXFLAGS=['-std=c++17'])
|
||||||
|
|
||||||
env.Append(LINKFLAGS=[
|
env.Append(LINKFLAGS=[
|
||||||
'--static',
|
'--static',
|
||||||
'-Wl,--no-undefined',
|
'-Wl,--no-undefined',
|
||||||
|
Loading…
Reference in New Issue
Block a user