Skip to content

Conversation

lzaoral
Copy link
Member

@lzaoral lzaoral commented Apr 3, 2025

... to fix the following CMake 4.0 error:

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

... to fix the following CMake 4.0 error:
```
CMake Error at CMakeLists.txt:18 (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.
```
@lzaoral lzaoral requested a review from kdudka April 3, 2025 07:25
@lzaoral lzaoral self-assigned this Apr 3, 2025
Copy link
Member

@kdudka kdudka left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@lzaoral lzaoral merged commit 14dbaa6 into csutils:main Apr 3, 2025
35 checks passed
@lzaoral lzaoral deleted the cmake-4-compat branch April 3, 2025 13:04
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