Skip to content

MNT: Use range of allowed CMake versions

  • Modern use of cmake_minimum_required allows for a range of minimum CMake version policies to be used, which allows for newer versions of CMake to be supported without errors as well as for more efficient builds with newer releases. Without the <policy_max> argument the version given for cmake_minimum_required will be enforced as the exact CMake policy versions used.

Related, but not exactly motivating:

Edited by Matthew Feickert

Merge request reports

Loading