The warning was triggered by an update of the CentOS7 docker image.
See https://cmake.org/cmake/help/v3.12/policy/CMP0072.html