Remove compatibility with CMake versions older than 2.8.0
This compatibility has been deprecated since !4897 (merged). The behavior itself has been deprecated since CMake 2.8.0.
Issue: #26613 (closed)
This compatibility has been deprecated since !4897 (merged). The behavior itself has been deprecated since CMake 2.8.0.
Issue: #26613 (closed)