dotenv-cpp icon indicating copy to clipboard operation
dotenv-cpp copied to clipboard

in CMake 4.0 compatibility with versions < 3.5 are removed

Open jnnrgd opened this issue 9 months ago • 0 comments

Hi, CMake has been warning about this for quite some time, on 4.0 the completely removed support for versions lesser than 3.5.

CMake Error at build/_deps/dotenv-cpp-src/CMakeLists.txt:1 (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!

jnnrgd avatar Apr 11 '25 08:04 jnnrgd