Using cmake_minimum_required(VERSION 3.16) ensures the pölicy exists and also is set to NEW already.
mentioned in commit 33457eb2