]> sigrok.org Git - pulseview.git/commit
CMakeLists.txt: Update version range from 2.8 to 3.31.5 to avoid abort
authorSoeren Apel <redacted>
Thu, 15 May 2025 14:38:53 +0000 (16:38 +0200)
committerSoeren Apel <redacted>
Thu, 15 May 2025 14:38:53 +0000 (16:38 +0200)
commitc0676b3493fda29d97c271cfeb76267019b35695
treef6305da94f65e4b53233f4c41302269a23b39d2e
parent32ca796643c62bfc8718ea5628cc7fb04b03f9e0
CMakeLists.txt: Update version range from 2.8 to 3.31.5 to avoid abort

The error with CMake 4 on the github CI looks like this:

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