Minimum CMake version to support Humble at this time

REP 2000 specifies MacOS support for CMake 3.14.4 in Humble:

This is the lowest number for the whole Humble release.

However, MacOS has this note:

" ** " means that the dependency may see multiple version changes, because the dependency uses a package manager that continually updates the dependency without a stable API.

I don’t work with MacOS myself, so I don’t know how it behaves. Is it still needed nowadays to support 3.14.4 to get full support for Humble on MacOS, or can I just ignore this and upgrade to 3.16.3 from Focal (assuming that MacOS currently uses a much newer version)?

And on the other hand: Homebrew Formulae: cmake shows CMake version 4.3.4 . Does it mean that even people building Humble on MacOS will use this version? So do I need to make sure the package also builds with this version?

I’d say just don’t worry about macOS: you can assume macOS is using a (much) newer version, so target the next minimum version number (3.16.3).

Due to Homebrew moving forward quickly, it’s pretty hard to get such an old CMake version, or at least it was the last time I tried. macOS is tier 3 (source build) anyway. If someone wants to actually get it building on macOS (using a newer CMake version), I think they can just submit PRs to your repo(s), if needed.

2 Likes

Thanks for the explanation!

1 Like