Honour PYTHON_EXECUTABLE environment variable if set and pass to cmake #14077

This commit is contained in:
fnoop 2020-01-31 17:18:36 +00:00 committed by Julian Oes
parent 3dc23afb3e
commit 86eff44a5e
1 changed files with 5 additions and 0 deletions

View File

@ -141,6 +141,11 @@ else
endif
# Pick up specific Python path if set
ifdef PYTHON_EXECUTABLE
CMAKE_ARGS += -DPYTHON_EXECUTABLE=${PYTHON_EXECUTABLE}
endif
# Functions
# --------------------------------------------------------------------
# describe how to build a cmake config