Skip to content

FindPythonInterp: Do not assume any version if test script fails

Marc Chevrier requested to merge marc.chevrier/cmake:bug-fixes into master

The Python version is retrieved by executing a small python script. If, for any reason, script fails to execute, leave the PYTHON_VERSION_* variables undefined instead of assuming version 1.4.

Fixes: #18799 (closed)
Topic-rename: FindPythonInterp-version-fix

Edited by Brad King

Merge request reports