forked from Archive/PX4-Autopilot
Honour PYTHON_EXECUTABLE environment variable if set and pass to cmake #14077
This commit is contained in:
parent
3dc23afb3e
commit
86eff44a5e
5
Makefile
5
Makefile
|
@ -141,6 +141,11 @@ else
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Pick up specific Python path if set
|
||||||
|
ifdef PYTHON_EXECUTABLE
|
||||||
|
CMAKE_ARGS += -DPYTHON_EXECUTABLE=${PYTHON_EXECUTABLE}
|
||||||
|
endif
|
||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
# describe how to build a cmake config
|
# describe how to build a cmake config
|
||||||
|
|
Loading…
Reference in New Issue