[Bug 849378] New: Incorrect cmake policy behaviour