Skip to content

Conversation

@alperak
Copy link

@alperak alperak commented Jul 9, 2025

Fix:

| CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
| Compatibility with CMake < 3.5 has been removed from CMake.
|
| 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.
|
| Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Fix:

| CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <[email protected]>
@mikkelfj
Copy link
Contributor

Thanks, I'm hesitating a bit on the decision. The current version is too old, but new version might not work on some platforms, and I think there are things in the current CMake files that need to be fixed before bumping.

There are also some other PR/issues that I need to consider.

Any sugg. are welcome.

@mikkelfj
Copy link
Contributor

Bumped CMake to 3.16 in this commit: 385c27b

Version 3.16 still allows Appveyor to test MSVC 2015 and should be recent enough.

There was quite a bit of work to fix some old custom build rules.

@mikkelfj mikkelfj closed this Jul 30, 2025
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