summaryrefslogtreecommitdiff
path: root/modules/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/SCsub')
-rw-r--r--modules/SCsub6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/SCsub b/modules/SCsub
index 36c2472c42..42d89d6ce2 100644
--- a/modules/SCsub
+++ b/modules/SCsub
@@ -6,9 +6,9 @@ env_modules = env.Clone()
Export('env_modules')
-env.modules_sources = [
- "register_module_types.gen.cpp",
-]
+env.modules_sources = []
+
+env_modules.add_source_files(env.modules_sources, "register_module_types.gen.cpp")
for x in env.module_list:
if (x in env.disabled_modules):