While there has been initial work towards Meson support, I wanted to finish the CMake support first. It should now be in a pretty good shape in the master branch. There are quite a few cleanups, config variables were renamed (which breaks backward compatibility), and a few issues were fixed that were present in CMake support in XZ Utils 5.6.2.
Currently CMake >= 3.14 is required. Increasing the requirement to CMake >= 3.20 would allow a few small cleanups. Translation support and relocatable liblzma.pc only work with CMake >= 3.20, so builds with older CMake are already not fully featured. However, there might be use cases where the missing features don't matter. Does anyone think it's too early to require CMake >= 3.20? The CMake changes in the master branch are significant enough that they might not be backported to 5.6.x, so this would be about 5.8.0 which should be released at some point this year. The Autotools support won't go away in 5.8.0, thus the CMake version requirement matters only if one cannot or doesn't want to use the Autotools-based build. -- Lasse Collin