Skip to content
Snippets Groups Projects
Commit a9d9a48d authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon
Browse files

Make Python search versions user-settable

parent d4686142
No related branches found
No related tags found
1 merge request!302Cori fixes
......@@ -109,7 +109,10 @@ if(ADIOS2_USE_Python)
set(python_find_args REQUIRED)
endif()
if(SHARED_LIBS_SUPPORTED AND ADIOS2_ENABLE_PIC)
set(Python_ADDITIONAL_VERSIONS 3 2.7)
set(Python_ADDITIONAL_VERSIONS "3;2.7"
CACHE STRING "Python versions to search for"
)
mark_as_advanced(Python_ADDITIONAL_VERSIONS)
list(APPEND python_find_args COMPONENTS Interp Libs numpy)
if(ADIOS2_HAVE_MPI)
list(APPEND python_find_args "mpi4py\\\;mpi4py/mpi4py.h")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment