forked from qt-creator/qt-creator
CMake: Use correct CTest binary if cmake is remote
Change-Id: Ic0ad52a754ccd39bca2e406a324f9e27ec9bc9bd Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -756,7 +756,8 @@ void CMakeBuildSystem::handleParsingSucceeded(bool restoredFromBackup)
|
||||
checkAndReportError(errorMessage);
|
||||
}
|
||||
|
||||
m_ctestPath = FilePath::fromString(m_reader.ctestPath());
|
||||
const CMakeTool *tool = m_parameters.cmakeTool();
|
||||
m_ctestPath = tool->cmakeExecutable().withNewPath(m_reader.ctestPath());
|
||||
|
||||
setApplicationTargets(appTargets());
|
||||
setDeploymentData(deploymentData());
|
||||
|
||||
Reference in New Issue
Block a user