Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Honour PYTHON_EXECUTABLE environment variable pass to cmake #14077 #14080

Merged
merged 1 commit into from
Feb 3, 2020

Conversation

fnoop
Copy link
Contributor

@fnoop fnoop commented Jan 31, 2020

Currently there is no way to specify which version of python you want to build px4 with. It will pick up the first instance of python/python3 found in the path.

If the manual build process used cmake we could pass -DPYTHON_EXECUTABLE but because there is a make wrapper we can't do that. This PR adds to the Makefile to pass PYTHON_EXECUTABLE if environment variable is set.

@fnoop fnoop mentioned this pull request Jan 31, 2020
@dagar
Copy link
Member

dagar commented Jan 31, 2020

Seems fine to me. Any opinion @julianoes or @TSC21?

Copy link
Member

@TSC21 TSC21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good with me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants