CMake 4: Build fails with `Compatibility with CMake < 3.5 has been removed from CMake.`.
envgap__JoseExposito__touchegg-681
01 / FAILURE SIGNATURE
As reported upstream
Compatibility with CMake < 3.5 has been removed from CMake.
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
fc30d316e163f4504043353d6610e670ce5c6439- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
JoseExposito/touchegg #681 · read the original issue
Ahoj, with Cmake 4, `cmake` run fails with ``` CMake Error at CMakeLists.txt:23 (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! ``` Workaround adding `-DCMAKE_POLICY_VERSION_MINIMUM=3.5` makes it building, but actually this issue popped up at some projects with Cmake 4 and means that some things have to be updated, see e.g. [here](https://github.com/analogdevicesinc/libm2k/issues/385#issuecomment-2891250887). Regards!
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]