only use CMP0046 policy for cmake >= 3.0