Skip to content

Bump CMake minimum version#601

Merged
ahcorde merged 1 commit intorollingfrom
bump/cmake
Jun 6, 2025
Merged

Bump CMake minimum version#601
ahcorde merged 1 commit intorollingfrom
bump/cmake

Conversation

@christophfroehlich
Copy link
Member

CMake < 3.10 is deprecated on some platforms ros-controls/ros2_control_cmake#8 (review)

@christophfroehlich
Copy link
Member Author

@Mergifyio backport kilted jazzy

@mergify
Copy link
Contributor

mergify bot commented Jun 6, 2025

backport kilted jazzy

✅ Backports have been created

Details

Copy link
Collaborator

@ahcorde ahcorde left a comment

Choose a reason for hiding this comment

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

For kilted and rolling we can use 3.20, but for jazzy I think 3.10 it's fine

@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
cmake_minimum_required(VERSION 3.10)
cmake_minimum_required(VERSION 3.20)

@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
cmake_minimum_required(VERSION 3.10)
cmake_minimum_required(VERSION 3.20)

@christophfroehlich
Copy link
Member Author

My approach was to bump it to the lowest non-deprecated version unless we would need it, but everything is fine for me

@ahcorde ahcorde merged commit 2cde962 into rolling Jun 6, 2025
5 of 6 checks passed
@ahcorde ahcorde deleted the bump/cmake branch June 6, 2025 10:29
mergify bot pushed a commit that referenced this pull request Jun 6, 2025
(cherry picked from commit 2cde962)
mergify bot pushed a commit that referenced this pull request Jun 6, 2025
(cherry picked from commit 2cde962)
ahcorde pushed a commit that referenced this pull request Jun 6, 2025
(cherry picked from commit 2cde962)

Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com>
ahcorde pushed a commit that referenced this pull request Jun 6, 2025
(cherry picked from commit 2cde962)

Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com>
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.

2 participants