Skip to content

Commit

Permalink
Merge pull request #851 from ellert/cmake-python-fix
Browse files Browse the repository at this point in the history
PythonInterp before PythonLibs
  • Loading branch information
simonmichal committed Dec 10, 2018
2 parents b69a90d + f60c165 commit a1f909e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/XRootDFindLibs.cmake
Expand Up @@ -110,8 +110,8 @@ if( ENABLE_CEPH )
endif()

if( ENABLE_PYTHON AND (Linux OR APPLE) )
find_package( PythonLibs ${XRD_PYTHON_REQ_VERSION} )
find_package( PythonInterp ${XRD_PYTHON_REQ_VERSION} )
find_package( PythonLibs ${XRD_PYTHON_REQ_VERSION} )
if( PYTHONINTERP_FOUND AND PYTHONLIBS_FOUND )
set( BUILD_PYTHON TRUE )
set( PYTHON_FOUND TRUE )
Expand Down

0 comments on commit a1f909e

Please sign in to comment.