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

PythonInterp before PythonLibs #851

Merged
merged 1 commit into from Dec 10, 2018
Merged

Conversation

ellert
Copy link
Contributor

@ellert ellert commented Nov 2, 2018

The /usr/share/cmake/Modules/FindPythonLibs.cmake and /usr/share/cmake/Modules/FindPythonInterp.cmake files both say:

If calling both find_package(PythonInterp) and find_package(PythonLibs), call find_package(PythonInterp) first to get the currently active Python version by default with a consistent version of PYTHON_LIBRARIES.

@simonmichal simonmichal merged commit a1f909e into xrootd:master Dec 10, 2018
simonmichal added a commit that referenced this pull request Dec 10, 2018
PythonInterp before PythonLibs
@ellert ellert deleted the cmake-python-fix branch December 10, 2018 14:35
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.

None yet

2 participants