On Ubuntu 22.04 LTS (Jammy Jellyfish):
cmake version 3.22.1
CMake Deprecation Warning at /witekio/work/iotconnect/github/public/iotc-generic-c-sdk/lib/cJSON/CMakeLists.txt:2 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
On Ubuntu 22.04 LTS (Jammy Jellyfish): cmake version 3.22.1