forked from qt-creator/qt-creator
Filepath: Add ::isSameDevice
Change-Id: I3990429b59759d5f72ed95e3a0d1723d3bb7bb82 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -864,14 +864,7 @@ void CMakeBuildSystem::ensureBuildDirectory(const BuildDirParameters ¶meters
|
||||
}
|
||||
|
||||
if (tool->cmakeExecutable().needsDevice()) {
|
||||
if (bdir.needsDevice()) {
|
||||
if (bdir.scheme() != tool->cmakeExecutable().scheme()
|
||||
|| bdir.host() != tool->cmakeExecutable().host()) {
|
||||
handleParsingFailed(
|
||||
tr("The CMake executable and the build directory are not on the same device."));
|
||||
return;
|
||||
}
|
||||
} else if (!tool->cmakeExecutable().ensureReachable(bdir)) {
|
||||
if (!tool->cmakeExecutable().ensureReachable(bdir)) {
|
||||
// Make sure that the build directory is available on the device.
|
||||
handleParsingFailed(
|
||||
tr("The remote CMake executable cannot write to the local build directory."));
|
||||
|
||||
Reference in New Issue
Block a user