Set CMP0025 to NEW for these tests.

Otherwise there could be confusion with AppleClang.
Merge topic 'target_compile_features' into next

b86afc7 Set CMP0025 to NEW for these tests.
Update tests.
Merge topic 'target_compile_features' into next

770b180 Update tests.