Skip to content

Conversation

@Ansuel
Copy link

@Ansuel Ansuel commented Nov 23, 2025

Update minimum version of CMake to 3.10 for CMake >= 4.0 version support.

New CMake require 3.5 as the minimum version with that increased to 3.10 in the next CMake release.

Update minimum version of CMake to 3.10 for CMake >= 4.0 version
support.

New CMake require 3.5 as the minimum version with that increased to 3.10
in the next CMake release.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Copy link
Owner

@blunderer blunderer left a comment

Choose a reason for hiding this comment

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

What bothers me with this change is that libroxml will still happily compile with older versions of CMake, and here, we will artificially break this.

Would you be able to, instead, use this recommendation (see https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html#cmake-minimum-required for more details):

Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.

Setting max to 3.5, I believe, would solve both problems.

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