summaryrefslogtreecommitdiff
path: root/src/plugins/cmakeprojectmanager/cmakeprocess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeprocess.cpp')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeprocess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeprocess.cpp b/src/plugins/cmakeprojectmanager/cmakeprocess.cpp
index ce08973363..4960b2e5c0 100644
--- a/src/plugins/cmakeprojectmanager/cmakeprocess.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakeprocess.cpp
@@ -97,7 +97,7 @@ void CMakeProcess::run(const BuildDirParameters &parameters, const QStringList &
}
const auto parser = new CMakeParser;
- parser->setSourceDirectory(parameters.sourceDirectory.path());
+ parser->setSourceDirectory(parameters.sourceDirectory);
m_parser.addLineParser(parser);
// Always use the sourceDir: If we are triggered because the build directory is getting deleted