Set CMP0042 policy.

Apparently this does not work in includes.