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

[cmake] Require CMake 3.15 or newer

Open gruenich opened this issue 8 months ago • 3 comments

  • [x] The currently used version of Google-test 1.13 still triggers a CMake deprecation warning with CMake 3.30 or newer. We need to decide on which version of Google-test we want to update. I see no reason to not choose the most recent version 1.16 which requires C++14 (like Google-test 1.13) and CMake 3.13. (I went for Google-test 1.16)
  • [ ] Adjust CI to test for both CMake 3.15 and 4.0, the new min and max required version.

gruenich avatar Apr 29 '25 22:04 gruenich

For context, googletest does not specify a range, which is why the minimum matters there.

henryiii avatar Apr 30 '25 02:04 henryiii

@henryiii How did you image testing with distinct versions of CMake? Downloading and building CMake from source seems excessive.

gruenich avatar May 01 '25 17:05 gruenich

I do it in pybind11 and CLI11 (local support action). Basically jwlawson/actions-setup-cmake downloads binaries pretty quickly.

henryiii avatar May 01 '25 19:05 henryiii