mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
Honour PYTHON_EXECUTABLE environment variable if set and pass to cmake #14077
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user