← All tasks
cppETLCPP/etl #1059Not a task: already works

CMake Deprecation Warning on 4.0.0

envgap__ETLCPP__etl-1059

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
aa0d8b322ccfa191bab57ae30b4cf7ba127a6384
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

ETLCPP/etl #1059 · read the original issue
I'm always using an actual cmake version, currently it's 4.0.0 in my repository. Today I've added `etl` to my project for the first time and cmake generated warning

```
CMake Deprecation Warning at /home/bartolomey/projects/aether-client-cpp/third_party/etl/CMakeLists.txt:4 (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.
```

Although it is not something terrible, but is it possible to rise up from `cmake_minimum_required(VERSION 3.5.0)` to at least `cmake_minimum_required(VERSION 3.10.0)`? 

P.S. Platformio on my machine uses cmake version 3.16.4 in its toolchain.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]