It is brittle to silently ignore Cmake warnings in the CI.
They should be turned into errors.
This will uncover an issue in the centos task that the correct python version is missing. I guess this should be fixed by installing and activating an acceptable python version.