Skip to content

update cmake_minimum_required(VERSION {2.4.4 => 3.25})#29

Open
RagnarGrootKoerkamp wants to merge 1 commit intoy-256:masterfrom
RagnarGrootKoerkamp:master
Open

update cmake_minimum_required(VERSION {2.4.4 => 3.25})#29
RagnarGrootKoerkamp wants to merge 1 commit intoy-256:masterfrom
RagnarGrootKoerkamp:master

Conversation

@RagnarGrootKoerkamp
Copy link
Copy Markdown

@RagnarGrootKoerkamp RagnarGrootKoerkamp commented May 14, 2025

I don't know anything about cmake, but this fixes the following error for cmake 4, which introduced backwards incompatibility.

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!

As a workaround, set the CMAKE_POLICY_MINIMUM_VERSION environment variable to 3.5.

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.

1 participant