Merge topic 'cmake-gui-reset-generator'

da490e11 cmake-gui: Fix cmState initialization when changing generators (#15959)
This commit is contained in:
Brad King 2016-02-16 09:52:36 -05:00 committed by CMake Topic Stage
commit a64fa04b4b
1 changed files with 7 additions and 0 deletions

View File

@ -86,6 +86,13 @@ cmGlobalGenerator::cmGlobalGenerator(cmake* cm)
this->TryCompileOuterMakefile = 0;
this->ConfigureDoneCMP0026AndCMP0024 = false;
cm->GetState()->SetMinGWMake(false);
cm->GetState()->SetMSYSShell(false);
cm->GetState()->SetNMake(false);
cm->GetState()->SetWatcomWMake(false);
cm->GetState()->SetWindowsShell(false);
cm->GetState()->SetWindowsVSIDE(false);
}
cmGlobalGenerator::~cmGlobalGenerator()