Commit ee2c8eff authored by David E. DeMarle's avatar David E. DeMarle

Merge branch 'wrapping-doesnt-require-dsm' into 'master'

allow wrapping without DSM



See merge request !6
parents 0a9fbd05 cce65238
......@@ -326,7 +326,11 @@ if(NOT XDMF_BUILD_CORE_ONLY)
endif()
if(XDMF_WRAP_PYTHON)
XDMF_SWIG_PYTHON(${XDMF_LIBNAME} XdmfCore XdmfDSM)
if (XDMF_BUILD_DSM)
XDMF_SWIG_PYTHON(${XDMF_LIBNAME} XdmfCore)
else()
XDMF_SWIG_PYTHON(${XDMF_LIBNAME} XdmfCore XdmfDSM)
endif()
set(XDMF_PYTHON_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib/python/)
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment