Skip to content

fix build with newer CMake versions#2048

Merged
Frenzie merged 3 commits into
koreader:masterfrom
benoit-pierre:pr/fix_cmake_compat
Apr 10, 2025
Merged

fix build with newer CMake versions#2048
Frenzie merged 3 commits into
koreader:masterfrom
benoit-pierre:pr/fix_cmake_compat

Conversation

@benoit-pierre

@benoit-pierre benoit-pierre commented Apr 10, 2025

Copy link
Copy Markdown
Member

Newer CMake versions dropped compatibility with CMake < 3.5:

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

This change is Reviewable

Newer CMake versions dropped compatibility with CMake < 3.5.
Newer CMake versions dropped compatibility with CMake < 3.5.
Newer CMake versions dropped compatibility with CMake < 3.5.
@Frenzie Frenzie merged commit 809cc54 into koreader:master Apr 10, 2025
@benoit-pierre benoit-pierre deleted the pr/fix_cmake_compat branch April 10, 2025 16:46
@benoit-pierre benoit-pierre mentioned this pull request Apr 11, 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