cmake policy CMP0077
This policy introduced in cmake 3.13 is going to change the behavior regarding cashing of variables read more.
I am setting the policy to OLD the relevant places, but we have to figure out how to make our system compatible with new