Skip to content

cmake: Port from FindPythonInterp to FindPython3

Heiko Becker requested to merge work/port-to-findpython3 into master

The former has been deprecated since cmake 3.12 and fails to load with 3.37 if CMP0148 is set to NEW [1].

[1] https://cmake.org/cmake/help/latest/policy/CMP0148.html

While at it, also adjust to the current CMake coding style in a second commit.

Merge request reports