aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/module.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/module.cxx')
-rw-r--r--libbuild2/module.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbuild2/module.cxx b/libbuild2/module.cxx
index df0da48..9a12d01 100644
--- a/libbuild2/module.cxx
+++ b/libbuild2/module.cxx
@@ -204,6 +204,8 @@ namespace build2
0, /* diag (none) */
false /* progress */);
+ ctx.module_context->load_generation++;
+
assert (tgs.size () == 1);
return tgs[0].as<target> ();
}