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

feat(CMakeLists.txt): custom Python executable path #18

Merged
merged 1 commit into from Jul 1, 2022

Conversation

XuehaiPan
Copy link
Member

Accept option -DPYTHON_EXECUTABLE=/path/to/python3 for cmake configuration.

For VS Code integration, for example, set:

{
    "cmake.configureSettings": {
        "PYTHON_EXECUTABLE:FILEPATH": "/home/PanXuehai/Miniconda3/envs/metaopt/bin/python3"
    }
}

in .vscode/settings.json.

@JieRen98 JieRen98 merged commit 634ca15 into metaopt:main Jul 1, 2022
@JieRen98
Copy link
Collaborator

JieRen98 commented Jul 1, 2022

Nice job! Thanks for your contribution!

Jie

@XuehaiPan XuehaiPan deleted the cmakelists branch July 1, 2022 15:19
@XuehaiPan XuehaiPan added the cxx / cuda Something related to the CXX / CUDA extension label Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cxx / cuda Something related to the CXX / CUDA extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants