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

Does not build with CMake 4.0.

Open junhaoliao opened this issue 9 months ago • 15 comments

The project now does not build with the latest version 4.0.0 of CMake

CMake Error at submodules/yaml-cpp/CMakeLists.txt:2 (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.

junhaoliao avatar Apr 01 '25 05:04 junhaoliao