diff options
-rw-r--r-- | build2/file.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build2/file.cxx b/build2/file.cxx index 2030d1c..155c8e6 100644 --- a/build2/file.cxx +++ b/build2/file.cxx @@ -906,6 +906,8 @@ namespace build2 setup_root (*root); bootstrap_src (*root); } + else if (src_root.empty ()) + src_root = root->src_path (); // Now we know this project's name as well as all its subprojects. // |