Commit fbf90325 authored by Jerry Clarke's avatar Jerry Clarke
Browse files

fixing for non-paraview installation

necessary for NetDMF
parent add8994e
...@@ -54,6 +54,7 @@ SET( XdmfMpiSource ...@@ -54,6 +54,7 @@ SET( XdmfMpiSource
XdmfDsmCommMpi XdmfDsmCommMpi
) )
SET( XdmfMySQLSource SET( XdmfMySQLSource
XdmfValuesMySQL XdmfValuesMySQL
) )
...@@ -113,6 +114,10 @@ IF(XDMF_REGENERATE_WRAPPERS) ...@@ -113,6 +114,10 @@ IF(XDMF_REGENERATE_WRAPPERS)
${Xdmf_BINARY_DIR}/libsrc/XdmfPython.cxx ${Xdmf_BINARY_DIR}/libsrc/XdmfPython.cxx
) )
ENDIF(SWIG_EXECUTABLE) ENDIF(SWIG_EXECUTABLE)
INSTALL(FILES ${Xdmf_BINARY_DIR}/libsrc/Xdmf.py
DESTINATION ${XDMF_INSTALL_LIB_DIR_CM24}/python/site-packages/Xdmf
COMPONENT Runtime
)
ENDIF(XDMF_REGENERATE_WRAPPERS) ENDIF(XDMF_REGENERATE_WRAPPERS)
...@@ -354,6 +359,16 @@ IF(XDMF_WRAP_PYTHON) ...@@ -354,6 +359,16 @@ IF(XDMF_WRAP_PYTHON)
ENDIF(WIN32) ENDIF(WIN32)
SET_TARGET_PROPERTIES(_Xdmf PROPERTIES PREFIX "") SET_TARGET_PROPERTIES(_Xdmf PROPERTIES PREFIX "")
ADD_DEPENDENCIES(_Xdmf Xdmf) ADD_DEPENDENCIES(_Xdmf Xdmf)
INSTALL(FILES ${Xdmf_SOURCE_DIR}/libsrc/__init__.py
DESTINATION ${XDMF_INSTALL_LIB_DIR_CM24}/python/site-packages/Xdmf
COMPONENT Runtime
)
IF(NOT XDMF_REGENERATE_WRAPPERS)
INSTALL(FILES ${Xdmf_SOURCE_DIR}/libsrc/Xdmf.py
DESTINATION ${XDMF_INSTALL_LIB_DIR_CM24}/python/site-packages/Xdmf
COMPONENT Runtime
)
ENDIF(NOT XDMF_REGENERATE_WRAPPERS)
ENDIF(XDMF_WRAP_PYTHON) ENDIF(XDMF_WRAP_PYTHON)
IF(XDMF_BUILD_TESTING) IF(XDMF_BUILD_TESTING)
......
Supports Markdown
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