Stiffstream / restinio

Cross-platform, efficient, customizable, and robust asynchronous HTTP(S)/WebSocket server C++ library with the right balance between performance and ease of use
Other
1.16k stars 93 forks source link

cmake version deprecation warning #225

Open oschonrock opened 2 weeks ago

oschonrock commented 2 weeks ago

I am using cmake 3.31

which you now get on ubuntu 24.04 with

sudo snap install cmake

and just started getting these:

-- Project 'expected_lite', package 'expected-lite' version: '0.6.3'
CMake Deprecation Warning at ext/restinio/dev/restinio/CMakeLists.txt:1 (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 a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

(also for expected-lite and llhttp dependencies, but I have reported separately on those projects. )

locally modifying to 3.10 "works for me" but only you can assess the wider impact.