-
Notifications
You must be signed in to change notification settings - Fork 980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Top-level README.md instructs use of wrong version of CMake #2037
Comments
See the discussion in #1879 |
@IJeffray Are you using the |
@lurch It's the same on both |
@lurch Yeah, I'm aware Debian 10's considered old hat, but it still doesn't really change the underlying issue that things are out of sync. |
Yes, as discussed in #1879 the "top-level" CMake files only need CMake 3.13, so that's why the README.md says that too. You might be using a configuration which means that your particular build doesn't need |
I see. Confusing, but also makes sense I guess. Sorry for wasting time as it's already fixed for the next release. |
In current master, cmake/generic_board.cmake uses a POP_FRONT command which only exists in CMake >= 3.15
But the README.md has examples showing cmake_minimum_required(VERSION 3.13)
This leads to significant confusion when the build just spins with the repeated error "list does not recognize sub-command POP_FRON"
CMake 3.13 is the latest in Debian 10, which is admittedly old in the tooth now, but no amount of "apt upgrade" will resolve it.
But there's little point in having a 'minimum required' version line with demonstrably the wrong version in it.
Correcting this would mean that a suitable sane error is thown... "CMake 3.15 or higher is required. You are running version 3.13.4"
The text was updated successfully, but these errors were encountered: