cmake-gui: Preset combo box never allows selection of defined presets
Tested on Mac with CMake 3.19.0-rc1
Start up the cmake-gui
app. Navigate the source dir to a project where there is a CMakeUserPresets.json
file. The Preset:
field appears between the source and build directory rows of the UI. The Preset:
combo box shows <custom>
and while it contains the set of presets that are defined by the CMakeUserPresets.json
file, they are all greyed out and disabled, so you can't actually select any of them. This occurs even with a fresh source tree that cmake-gui
hasn't seen before and for which there is no existing build directory.