changed cmake policy to new