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

allow wrapping without DSM

parent 0a9fbd05
......@@ -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