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

Always check for python dev libs when ADIOS2_HAVE_PYTHON is TRUE

Fixes #193
parent eafe6ca3
No related branches found
No related tags found
1 merge request!195Always check for python dev libs when ADIOS2_HAVE_PYTHON is TRUE
...@@ -2,6 +2,8 @@ if(NOT BUILD_SHARED_LIBS) ...@@ -2,6 +2,8 @@ if(NOT BUILD_SHARED_LIBS)
message(ERROR "Python bindings are only supported for shared libraries") message(ERROR "Python bindings are only supported for shared libraries")
endif() endif()
find_package(PythonLibsNew REQUIRED)
pybind11_add_module(adios2py MODULE pybind11_add_module(adios2py MODULE
ADIOSPy.h ADIOSPy.h
ADIOSPy.cpp ADIOSPy.cpp
......
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