Skip to content
Commit 082f1c86 authored by Mikael's avatar Mikael
Browse files

Fix using deprecated CMake method to find Python



Locating the Python interpreter and development libraries with
"find_package(PythonInterp)" and "find_package(PythonLibs)" has been
deprecated since CMake version 3.12 and was disabled by a policy in
3.27.

The new method of getting the interpreter and development libraries is
by using find_package with Python3 and requesting the specific
components needed.

To allow the driver library's Python API to be build with CMake version
3.27 and newer, the CMake file for the Python API has been changed to
use the new method.

Change-Id: I0ab7e9741a4bdae54894e360c5f2e40a79e496d1
Signed-off-by: Mikael's avatarMikael Olsson <mikael.olsson@arm.com>
parent e0a0ac35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment