If I recall correctly, xz can be built with both autoconf and cmake, are cmake configs similarly affected?
https://git.tukaani.org/?p=xz.git;a=commit;h=f9cf4c05edd14de...