An update will be applied December 9th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit ae67985a authored by David Partyka's avatar David Partyka
Browse files

vtkhdf5: Dont install hdf5 libraries when VTK_INSTALL_NO_LIBRARIES is on.

parent 16f67adf
...@@ -101,7 +101,7 @@ ENDIF (NOT VTK_INSTALL_NO_DEVELOPMENT) ...@@ -101,7 +101,7 @@ ENDIF (NOT VTK_INSTALL_NO_DEVELOPMENT)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Add Target(s) to CMake Install for import into other projects # Add Target(s) to CMake Install for import into other projects
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
IF (HDF5_EXPORTED_TARGETS) IF (HDF5_EXPORTED_TARGETS AND NOT VTK_INSTALL_NO_LIBRARIES)
INSTALL ( INSTALL (
TARGETS TARGETS
${HDF5_CPP_LIB_TARGET} ${HDF5_CPP_LIB_TARGET}
...@@ -111,5 +111,5 @@ IF (HDF5_EXPORTED_TARGETS) ...@@ -111,5 +111,5 @@ IF (HDF5_EXPORTED_TARGETS)
LIBRARY DESTINATION ${VTK_INSTALL_LIB_DIR_CM24} COMPONENT RuntimeLibraries LIBRARY DESTINATION ${VTK_INSTALL_LIB_DIR_CM24} COMPONENT RuntimeLibraries
ARCHIVE DESTINATION ${VTK_INSTALL_LIB_DIR_CM24} COMPONENT Development ARCHIVE DESTINATION ${VTK_INSTALL_LIB_DIR_CM24} COMPONENT Development
) )
ENDIF (HDF5_EXPORTED_TARGETS) ENDIF (HDF5_EXPORTED_TARGETS AND NOT VTK_INSTALL_NO_LIBRARIES)
...@@ -31,14 +31,14 @@ INSTALL ( ...@@ -31,14 +31,14 @@ INSTALL (
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Add Target(s) to CMake Install for import into other projects # Add Target(s) to CMake Install for import into other projects
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
IF (HDF5_EXPORTED_TARGETS) IF (HDF5_EXPORTED_TARGETS AND NOT VTK_INSTALL_NO_LIBRARIES)
INSTALL ( INSTALL (
TARGETS TARGETS
${HDF5_HL_CPP_LIB_TARGET} ${HDF5_HL_CPP_LIB_TARGET}
EXPORT EXPORT
${HDF5_EXPORTED_TARGETS} ${HDF5_EXPORTED_TARGETS}
LIBRARY DESTINATION lib RUNTIME DESTINATION ${VTK_INSTALL_BIN_DIR_CM24} COMPONENT RuntimeLibraries
ARCHIVE DESTINATION lib LIBRARY DESTINATION ${VTK_INSTALL_LIB_DIR_CM24} COMPONENT RuntimeLibraries
RUNTIME DESTINATION bin ARCHIVE DESTINATION ${VTK_INSTALL_LIB_DIR_CM24} COMPONENT Development
) )
ENDIF (HDF5_EXPORTED_TARGETS) ENDIF (HDF5_EXPORTED_TARGETS AND NOT VTK_INSTALL_NO_LIBRARIES)
...@@ -52,14 +52,13 @@ INSTALL ( ...@@ -52,14 +52,13 @@ INSTALL (
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Add Target(s) to CMake Install for import into other projects # Add Target(s) to CMake Install for import into other projects
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
IF (HDF5_EXPORTED_TARGETS) IF (HDF5_EXPORTED_TARGETS AND NOT VTK_INSTALL_NO_LIBRARIES)
INSTALL ( INSTALL (
TARGETS TARGETS
${HDF5_HL_LIB_TARGET} ${HDF5_HL_LIB_TARGET}
EXPORT EXPORT
${HDF5_EXPORTED_TARGETS} ${HDF5_EXPORTED_TARGETS}
LIBRARY DESTINATION lib RUNTIME DESTINATION ${VTK_INSTALL_BIN_DIR_CM24} COMPONENT RuntimeLibraries
ARCHIVE DESTINATION lib LIBRARY DESTINATION ${VTK_INSTALL_LIB_DIR_CM24} COMPONENT RuntimeLibraries
RUNTIME DESTINATION bin ARCHIVE DESTINATION ${VTK_INSTALL_LIB_DIR_CM24} COMPONENT Development )
) ENDIF (HDF5_EXPORTED_TARGETS AND NOT VTK_INSTALL_NO_LIBRARIES)
ENDIF (HDF5_EXPORTED_TARGETS)
...@@ -660,7 +660,7 @@ ENDIF (NOT VTK_INSTALL_NO_DEVELOPMENT) ...@@ -660,7 +660,7 @@ ENDIF (NOT VTK_INSTALL_NO_DEVELOPMENT)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Add Target(s) to CMake Install for import into other projects # Add Target(s) to CMake Install for import into other projects
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
IF (HDF5_EXPORTED_TARGETS) IF (HDF5_EXPORTED_TARGETS AND NOT VTK_INSTALL_NO_LIBRARIES)
INSTALL ( INSTALL (
TARGETS TARGETS
${HDF5_LIB_TARGET} ${HDF5_LIB_TARGET}
...@@ -670,4 +670,4 @@ IF (HDF5_EXPORTED_TARGETS) ...@@ -670,4 +670,4 @@ IF (HDF5_EXPORTED_TARGETS)
LIBRARY DESTINATION ${VTK_INSTALL_LIB_DIR_CM24} COMPONENT RuntimeLibraries LIBRARY DESTINATION ${VTK_INSTALL_LIB_DIR_CM24} COMPONENT RuntimeLibraries
ARCHIVE DESTINATION ${VTK_INSTALL_LIB_DIR_CM24} COMPONENT Development ARCHIVE DESTINATION ${VTK_INSTALL_LIB_DIR_CM24} COMPONENT Development
) )
ENDIF (HDF5_EXPORTED_TARGETS) ENDIF (HDF5_EXPORTED_TARGETS AND NOT VTK_INSTALL_NO_LIBRARIES)
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