Skip to content

cmake: Set minimum required version to 3.5 for CMake 4+ compatibility#18

Open
bkuhls wants to merge 1 commit intoelectronicarts:masterfrom
bkuhls:cmake4
Open

cmake: Set minimum required version to 3.5 for CMake 4+ compatibility#18
bkuhls wants to merge 1 commit intoelectronicarts:masterfrom
bkuhls:cmake4

Conversation

@bkuhls
Copy link
Copy Markdown

@bkuhls bkuhls commented Feb 22, 2026

Fixes build error with cmake 4:

CMake Error at _deps/eabase-src/CMakeLists.txt:4 (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.

Fixes build error with cmake 4:

CMake Error at _deps/eabase-src/CMakeLists.txt:4 (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.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
@bkuhls
Copy link
Copy Markdown
Author

bkuhls commented Feb 22, 2026

Fixes #14

@BendedWills
Copy link
Copy Markdown

I second this. Trying to use EASTL in a project and running into the CMake error.

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