Commit 247a6fea authored by Tobias Hunger's avatar Tobias Hunger Committed by Tim Jenssen

CMake: Server-mode: Use sourceDirectory directly

Change-Id: I0929ea86e24a8f1aa4dbfc5d41421127accefe33
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent b7f15d8c
......@@ -519,7 +519,7 @@ QSet<Node *> ServerModeReader::updateCMakeLists(CMakeListsNode *root,
{
QSet<Node *> usedNodes;
const QDir baseDir = QDir(root->filePath().parentDir().toString());
const QDir baseDir = QDir(m_parameters.sourceDirectory.toString());
QHash<QString, FileNode *> nodeHash;
for (FileNode *cm : cmakeLists) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment