cmTarget: Don't create duplicate backtraces in CMP0046 warning
Merge branch 'fix-CMP0046-warning' into release