Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set CMake policies for newer versions of CMake
Make sure that CMP0012 is set to NEW, without which FindPython3 and FindPython2 functionality becomes broken with CMake 3.18.2 if searching by location. CMP0012 being set to OLD is also deprecated as of 3.18.3. Ensure CMP0011 is set to NEW to avoid warnings and deprecated behaviour being issued about policy push / pop with CMake 3.18.0 or newer. Signed-off-by: Paul Elliott <paul.elliott@arm.com>
- Loading branch information