mirror of
https://github.com/Relintai/godot_fastnoise.git
synced 2024-11-08 10:02:12 +01:00
Append -std=c++11
flag to the module in SCsub
Scons doesn't seem to support the `SCONS_CXX_STANDARD` environ variable. Fixes #1
This commit is contained in:
parent
a6bd5df8e2
commit
40841f565f
9
SCsub
9
SCsub
@ -1,4 +1,9 @@
|
||||
Import('env')
|
||||
|
||||
env.add_source_files(env.modules_sources,"*.cpp")
|
||||
env.add_source_files(env.modules_sources,"lib/*.cpp")
|
||||
module_env = env.Clone()
|
||||
|
||||
module_env.add_source_files(env.modules_sources,"*.cpp")
|
||||
module_env.add_source_files(env.modules_sources,"lib/*.cpp")
|
||||
|
||||
# FastNoise uses a few C++11 features
|
||||
module_env.Append(CPPFLAGS=["-std=c++11"])
|
||||
|
Loading…
Reference in New Issue
Block a user