mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 01:49:02 +00:00
add HDF5 include path
This commit is contained in:
parent
6dd1d7be3a
commit
1ebcde1d30
@ -94,7 +94,10 @@ vtkm_option(VTKm_USE_64BIT_IDS "Use 64-bit indices." ON)
|
||||
|
||||
vtkm_option(VTKm_ENABLE_HDF5_IO "Enable HDF5 support" OFF)
|
||||
if (VTKm_ENABLE_HDF5_IO)
|
||||
find_package(HDF5 COMPONENTS HL)
|
||||
find_package(HDF5 REQUIRED COMPONENTS HL)
|
||||
if (HDF5_FOUND)
|
||||
include_directories(${HDF5_INCLUDE_DIR})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# VTK-m will turn on logging by default, but will set the default
|
||||
|
Loading…
Reference in New Issue
Block a user