commonmark / cmark

CommonMark parsing and rendering library and program in C
Other
1.6k stars 534 forks source link

build: add an upgrade path for newer CMake #491

Closed compnerd closed 7 months ago

compnerd commented 7 months ago

CMake 3.12 deprecated FindPythonInterp, and with CMake 3.27, were obsoleted with CMP0148. Add a version check and switch to the new behaviour to allow building with newer releases. When the minimum CMake version is increased, we can look at dropping the compatibility path.

jgm commented 7 months ago

thanks