Skip to content

Help:presets: note project and user presets version must match

scivision requested to merge scivision/cmake:help_presets into master

If the versions don't match, a non-specific presets error occurs for commands like cmake --list-presets

cmake_minimum_required is optional, and putting it in the example may make people considering presets think their whole project would suddenly require a new CMake version--even for users not using presets. To avoid this confusion that may turn people away from using presets, I think it should be omitted from the example.

Edited by scivision

Merge request reports