Skip to content

Conversation

@mosfet80
Copy link
Contributor

@mosfet80 mosfet80 commented May 19, 2025

Description

cmake version <3.10 is deprecated

Did you use Generative AI?

Additional Information

cmake version <3.10 is deprecated

Signed-off-by: mosfet80 <10235105+mosfet80@users.noreply.github.com>
Copy link
Member

@christophebedard christophebedard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are other instances of this in the rest of the docs. Would you want to update them in this PR too?

Just search for cmake_minimum_required(VERSION in this repository.

.. code-block:: cmake
cmake_minimum_required(VERSION 3.8)
cmake_minimum_required(VERSION 3.20)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are targeting humble I think the version is right here

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you're right that this version is fine for Humble.

REP 2000 lists a bunch of CMake versions for Humble for all the target platforms, and they're all definitely > 3.8: https://www.ros.org/reps/rep-2000.html#humble-hawksbill-may-2022-may-2027. However, it's not that CMake 3.8 is necessarily deprecated: I believe it's actually about declaring a minimum version that's too low (e.g., 3.8) with a newer version of CMake, but Humble (Ubuntu 22.04) has an older version of CMake.

Then I'd just leave this as-is.

@christophebedard
Copy link
Member

Given what I said in #5639 (comment), I'll close this PR. Feel free to keep discussing if you disagree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants