forked from qt-creator/qt-creator
CMake: Fix changing build directory
It wasn't possible to change the build directory if the old directory
didn't already contain a build.
Amends 7e6e02eb08
Change-Id: I741f6981273a4e04cceabde5b15b5ad951535ef8
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -121,8 +121,9 @@ CMakeBuildConfiguration::CMakeBuildConfiguration(Target *target, Core::Id id)
|
||||
== QMessageBox::Ok) {
|
||||
return newDir;
|
||||
}
|
||||
}
|
||||
return Utils::nullopt;
|
||||
}
|
||||
return newDir;
|
||||
});
|
||||
|
||||
addAspect<InitialCMakeArgumentsAspect>();
|
||||
|
Reference in New Issue
Block a user