forked from qt-creator/qt-creator
CMake: Fix build directory location in fileapi and tealeaf reader
Sorry, this was wrong in 196b0da08a
Change-Id: Id2d6a5fb180ccc74c6fea0559466f8e390de69e8
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -131,7 +131,7 @@ void FileApiReader::parse(bool forceCMakeRun, bool forceConfiguration)
|
||||
if (forceConfiguration) {
|
||||
// Initial create:
|
||||
qCDebug(cmakeFileApiMode) << "FileApiReader: Starting CMake with forced configuration.";
|
||||
const FilePath path = m_parameters.buildDirectory.pathAppended("qtcsettings.cmake");
|
||||
const FilePath path = m_parameters.workDirectory.pathAppended("qtcsettings.cmake");
|
||||
startCMakeState(QStringList({QString("-C"), path.toUserOutput()}));
|
||||
// Keep m_isParsing enabled!
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user