Skip to content

Conversation

@jesusgonzalezg
Copy link

Newer CMake version no longer accepts such old minimum versions.
With this change, require at least 2.6 as before and assume compatibility up to 3.28 (a more modern version used to build the library recently).

Otherwise, you will get this error message:

CMake Error at CMakeLists.txt:15 (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."

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