Merge topic 'cmake-gui-reset-generator-toolset-and-platform'
1ade687d
cmake-gui: Reset generator platform and toolset on configure (#15411)
This commit is contained in:
commit
b7351d8e14
|
@ -147,6 +147,8 @@ void QCMake::configure()
|
||||||
this->CMakeInstance->SetStartOutputDirectory(this->BinaryDirectory.toLocal8Bit().data());
|
this->CMakeInstance->SetStartOutputDirectory(this->BinaryDirectory.toLocal8Bit().data());
|
||||||
this->CMakeInstance->SetGlobalGenerator(
|
this->CMakeInstance->SetGlobalGenerator(
|
||||||
this->CMakeInstance->CreateGlobalGenerator(this->Generator.toLocal8Bit().data()));
|
this->CMakeInstance->CreateGlobalGenerator(this->Generator.toLocal8Bit().data()));
|
||||||
|
this->CMakeInstance->SetGeneratorPlatform("");
|
||||||
|
this->CMakeInstance->SetGeneratorToolset("");
|
||||||
this->CMakeInstance->LoadCache();
|
this->CMakeInstance->LoadCache();
|
||||||
this->CMakeInstance->SetSuppressDevWarnings(this->SuppressDevWarnings);
|
this->CMakeInstance->SetSuppressDevWarnings(this->SuppressDevWarnings);
|
||||||
this->CMakeInstance->SetWarnUninitialized(this->WarnUninitializedMode);
|
this->CMakeInstance->SetWarnUninitialized(this->WarnUninitializedMode);
|
||||||
|
|
Loading…
Reference in New Issue