mirror of
https://github.com/mhx/dwarfs.git
synced 2025-08-03 09:47:01 -04:00
build: prefer python3 over python
This commit is contained in:
parent
7bd146f36d
commit
5570ac5798
@ -24,7 +24,7 @@ function(add_manpage_source markdown)
|
||||
set(_multiValueArgs)
|
||||
cmake_parse_arguments(_MANPAGE "${_options}" "${_oneValueArgs}" "${_multiValueArgs}" ${ARGN})
|
||||
|
||||
find_program(_PYTHON_EXE python python3)
|
||||
find_program(_PYTHON_EXE python3 python)
|
||||
if(NOT _PYTHON_EXE)
|
||||
find_package(Python3 REQUIRED)
|
||||
set(_PYTHON_EXE "${Python3_EXECUTABLE}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user