mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-25 18:05:12 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user