correct usage of CMP0011

Hi,

In my use case, the main CMakeLists does cmake_policy(VERSION x.y) but it seems that a delegated cmake script does not inherite it (see use-case in using read -p from in script launched by execute_process).

Thanks