mirror of
https://github.com/Relintai/godot_fastnoise.git
synced 2025-02-04 16:16:07 +01:00
Merge pull request #2 from Xrayez/add-cpp-flag
Append `-std=c++11` flag to the module in SCsub
This commit is contained in:
commit
609fc581ac
9
SCsub
9
SCsub
@ -1,4 +1,9 @@
|
|||||||
Import('env')
|
Import('env')
|
||||||
|
|
||||||
env.add_source_files(env.modules_sources,"*.cpp")
|
module_env = env.Clone()
|
||||||
env.add_source_files(env.modules_sources,"lib/*.cpp")
|
|
||||||
|
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