1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-12 19:20:32 +00:00

Try hard to find python

This commit is contained in:
Carles Fernandez 2023-10-08 10:26:47 +02:00
parent e86047d12e
commit 30f624e548
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -145,6 +145,7 @@ else()
endif()
volk_python_check_module("mako >= 0.4.2" mako "mako.__version__ >= '0.4.2'" MAKO_FOUND)
if(NOT MAKO_FOUND)
unset(PYTHON_EXECUTABLE)
find_program(PYTHON_EXECUTABLE NAMES python3 python)
if(PYTHON_EXECUTABLE)
set(PYTHONINTERP_FOUND TRUE)