summaryrefslogtreecommitdiff
path: root/modules/visual_script/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/visual_script/SCsub')
-rw-r--r--modules/visual_script/SCsub5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/visual_script/SCsub b/modules/visual_script/SCsub
index 0882406761..96ee911ba0 100644
--- a/modules/visual_script/SCsub
+++ b/modules/visual_script/SCsub
@@ -1,7 +1,10 @@
#!/usr/bin/env python
Import('env')
+Import('env_modules')
-env.add_source_files(env.modules_sources, "*.cpp")
+env_vs = env_modules.Clone()
+
+env_vs.add_source_files(env.modules_sources, "*.cpp")
Export('env')