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