mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +02:00
meson: flip python check to avoid nesting conditions in the next commits
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40514>
This commit is contained in:
parent
929eb9a021
commit
d787eb6048
1 changed files with 4 additions and 2 deletions
|
|
@ -1041,9 +1041,11 @@ python_exec_list = ['python3', 'python3.16', 'python3.15', 'python3.14', 'python
|
|||
|
||||
foreach p : python_exec_list
|
||||
prog_python = find_program(p, required : false, version : python_version_req)
|
||||
if prog_python.found()
|
||||
break
|
||||
if not prog_python.found()
|
||||
continue
|
||||
endif
|
||||
|
||||
break
|
||||
endforeach
|
||||
|
||||
if not prog_python.found()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue