Commit 8c17a17e authored by David Partyka's avatar David Partyka
Browse files

Add Xdmf Export Target install rule arguments.

parent 9ecc6162
......@@ -21,6 +21,10 @@ SET(XDMF_INSTALL_BIN_DIR_CM24 ${VTK_INSTALL_BIN_DIR_CM24})
SET(XDMF_INSTALL_INCLUDE_DIR_CM24 ${VTK_INSTALL_INCLUDE_DIR_CM24})
SET(XDMF_INSTALL_PACKAGE_DIR_CM24 ${VTK_INSTALL_PACKAGE_DIR_CM24})
IF(NOT XDMF_INSTALL_EXPORT_NAME)
SET(XDMF_INSTALL_EXPORT_NAME XdmfTargets)
ENDIF()
SET( XdmfFormatSource
XdmfArray
XdmfDOM
......@@ -582,6 +586,7 @@ ENDIF(NOT XDMF_INSTALL_NO_DEVELOPMENT)
IF(NOT XDMF_INSTALL_NO_LIBRARIES)
INSTALL(TARGETS Xdmf
EXPORT ${XDMF_INSTALL_EXPORT_NAME}
RUNTIME DESTINATION ${XDMF_INSTALL_BIN_DIR_CM24} COMPONENT Runtime
LIBRARY DESTINATION ${XDMF_INSTALL_LIB_DIR_CM24} COMPONENT Runtime
ARCHIVE DESTINATION ${XDMF_INSTALL_LIB_DIR_CM24} COMPONENT Development)
......
......@@ -152,6 +152,7 @@ ENDIF(NOT XDMF_INSTALL_NO_DEVELOPMENT)
IF (VTK_FOUND)
IF(NOT XDMF_INSTALL_NO_LIBRARIES)
INSTALL(TARGETS vtkXdmf
EXPORT ${XDMF_INSTALL_EXPORT_NAME}
RUNTIME DESTINATION ${XDMF_INSTALL_BIN_DIR_CM24} COMPONENT Runtime
LIBRARY DESTINATION ${XDMF_INSTALL_LIB_DIR_CM24} COMPONENT Runtime
ARCHIVE DESTINATION ${XDMF_INSTALL_LIB_DIR_CM24} COMPONENT Development)
......
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