build: prefer python3 over python for PSX_PYTHON

A Python 2 `python` first in PATH (macOS with python.org 2.7) breaks embed_spirv.py.
This commit is contained in:
Zap0xfce2
2026-10-19 16:36:51 +02:00
parent beca8f5637
commit c88b6a5ff5
+1 -1
View File
@@ -2462,7 +2462,7 @@ function(psxrecomp_add_runtime_target target)
endif()
endif()
if(NOT PSX_PYTHON)
find_program(PSX_PYTHON NAMES python python3)
find_program(PSX_PYTHON NAMES python3 python)
endif()
if(NOT PSX_PYTHON)
message(FATAL_ERROR