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 Olsson <mikael.olsson@arm.com>
Loading
Please register or sign in to comment