summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraQbsGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmExtraQbsGenerator.cxx')
-rw-r--r--Source/cmExtraQbsGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraQbsGenerator.cxx b/Source/cmExtraQbsGenerator.cxx
index 5a1f9ef..7e923a8 100644
--- a/Source/cmExtraQbsGenerator.cxx
+++ b/Source/cmExtraQbsGenerator.cxx
@@ -81,7 +81,7 @@ void cmExtraQbsGenerator::AppendSubProject(cmGeneratedFileStream &fout,
}
const std::string &relativePath = cmSystemTools::RelativePath(
- mk->GetHomeDirectory(), mk->GetCurrentDirectory());
+ mk->GetHomeDirectory(), mk->GetCurrentSourceDirectory());
fout << "\tProject {\n"
<< "\t\tname:\"" << relativePath << "\"\n";
this->AppendProduct(fout, lg);