Skip to content

Update Python detection.

M. Eric Irrgang requested to merge 2998-update-python-detection into master

Use new CMake facilities for detecting Python.

Consolidate Python detection in the main CMakeLists.txt before the first usage in a subdirectory. Use FindPython3.cmake instead of FindPythonInterp.cmake. Populate the legacy PYTHON_EXECUTABLE variable for compatibility.

Closes #2998 (closed)

Edited by M. Eric Irrgang

Merge request reports