Skip to content

Conversation

@aik2mlj
Copy link

@aik2mlj aik2mlj commented Sep 23, 2025

Hi Ge and Andrew,

I noticed a cmake building error on (arch)linux that it requires at least cmake 3.5 and, preferably, 3.10 due to deprecation settings.

CMake Error at vendor/freetype/CMakeLists.txt:113 (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.

CMake Deprecation Warning at vendor/freetype/CMakeLists.txt:113 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  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.

I tried bumping the version to 3.10 and then it built fine.

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