Commit 8f7b72b6 authored by Jerry Clarke's avatar Jerry Clarke
Browse files

fix Xdmf.py installation

parent 8477b24a
......@@ -375,20 +375,14 @@ IF(XDMF_WRAP_PYTHON)
GET_FILENAME_COMPONENT(PYTHON_VERSION_NAME ${PYTHON_INCLUDE_PATH} NAME)
SET_TARGET_PROPERTIES(_Xdmf PROPERTIES PREFIX "")
ADD_DEPENDENCIES(_Xdmf Xdmf)
INSTALL(FILES ${Xdmf_SOURCE_DIR}/libsrc/Xdmf.py
DESTINATION ${XDMF_INSTALL_LIB_DIR_CM24}/${PYTHON_VERSION_NAME}/site-packages/Xdmf
COMPONENT Runtime
)
INSTALL(FILES ${Xdmf_SOURCE_DIR}/libsrc/__init__.py
DESTINATION ${XDMF_INSTALL_LIB_DIR_CM24}/${PYTHON_VERSION_NAME}/site-packages/Xdmf
COMPONENT Runtime
)
IF(NOT XDMF_REGENERATE_WRAPPERS)
INSTALL(FILES ${XDMF_PYTHON_FILE}
DESTINATION ${XDMF_INSTALL_LIB_DIR_CM24}/${PYTHON_VERSION_NAME}/site-packages/Xdmf
COMPONENT Runtime
)
ENDIF(NOT XDMF_REGENERATE_WRAPPERS)
ENDIF(XDMF_WRAP_PYTHON)
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