CMakePM: Add Qt SDK ninja to configure environment

Fixes: QTCREATORBUG-29032
Change-Id: I1aebd11ba85ad6a363ecf1ab6406cdec20753e9d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Cristian Adam
2023-06-15 16:05:49 +02:00
parent 562c5774e3
commit 64cd1df74b

View File

@@ -2087,7 +2087,10 @@ void CMakeBuildConfiguration::addToEnvironment(Utils::Environment &env) const
Environment CMakeBuildConfiguration::configureEnvironment() const
{
return aspect<ConfigureEnvironmentAspect>()->environment();
Environment env = aspect<ConfigureEnvironmentAspect>()->environment();
addToEnvironment(env);
return env;
}
QString CMakeBuildSystem::cmakeBuildType() const