need vtkhdf5 module for certain systems

This commit is contained in:
wmayer 2016-11-28 18:07:25 +01:00
parent 1f6ed81624
commit 8d1bea8d60

View File

@ -587,7 +587,7 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
)
# check which modules are available
if(UNIX AND NOT APPLE)
list(APPEND VTK_COMPONENTS vtkIOMPIParallel vtkParallelMPI)
list(APPEND VTK_COMPONENTS vtkIOMPIParallel vtkParallelMPI vtkhdf5)
foreach(_module ${VTK_COMPONENTS})
file(GLOB_RECURSE _module_exists /usr/lib*/cmake/*${_module}.cmake
${CMAKE_ROOT}/*${_module}.cmake)