ccmake: Now supports the preset toolchain entry

Previously the toolchain field was ignored when passing a preset
to ccmake.
This commit is contained in:
Robert Maynard
2024-01-03 14:46:33 -05:00
parent 275b2cc12f
commit d20c21a678
+5
View File
@@ -962,6 +962,11 @@ int cmCursesMainForm::LoadCache(const char* /*unused*/)
if (r < 0) {
return r;
}
// Process presets before loading the cache
this->CMakeInstance->ProcessPresetVariables();
this->CMakeInstance->ProcessPresetEnvironment();
this->CMakeInstance->SetCacheArgs(this->Args);
this->CMakeInstance->PreLoadCMakeFiles();
return r;