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

use 'Python3_EXECUTABLE' instead of 'Python_EXECUTABLE' #958

Merged

Conversation

christian-rauch
Copy link
Collaborator

@christian-rauch christian-rauch commented Oct 24, 2024

find_package(Python3 COMPONENTS Interpreter Development REQUIRED) sets Python3_FOUND and Python3_EXECUTABLE, but not Python_FOUND and Python_EXECUTABLE. Replace all uses of Python_EXECUTABLE with Python3_EXECUTABLE to make this consistent across the CMake project and prevent potential issues.

Fixes #957.

@christian-rauch christian-rauch marked this pull request as ready for review October 25, 2024 15:30
@christian-rauch christian-rauch merged commit 5c8922a into stevenlovegrove:master Oct 25, 2024
14 checks passed
@christian-rauch christian-rauch deleted the fix_cmake_py_exec branch October 25, 2024 15:31
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.

Unable to compile: mpip not found
2 participants