Skip to content

fix minimum required cmake version#143

Merged
m417z merged 1 commit intoTsudaKageyu:masterfrom
Mengna-Li:master
Mar 24, 2025
Merged

fix minimum required cmake version#143
m417z merged 1 commit intoTsudaKageyu:masterfrom
Mengna-Li:master

Conversation

@Mengna-Li
Copy link
Copy Markdown

Because cmake 4.0 is not compatible with cmake versions below 3.5. So in cmake 4.0, the following errors will be encountered:

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

@m417z m417z merged commit 7ce2cfe into TsudaKageyu:master Mar 24, 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