Need CMP0025 to be set. No way to do it from the command line (overrode by the cmake_minimimum_version policy). Fixes #44878