Support for building with CMake 4.0 was introduced by the upstream. Resolves: rhbz#2349255, rhbz#2380613