exclude header files from install check when it is not enabled

This commit is contained in:
Li-Ta Lo 2021-01-05 13:43:16 -07:00
parent d81f08eedb
commit 23a95f864a

@ -121,6 +121,13 @@ function(do_verify root_dir prefix)
cont/StorageVirtual.hxx
)
if (NOT VTKm_ENABLE_HDF5_IO)
set(file_exceptions ${file_exceptions}
io/ImageWriterHDF5.h
io/ImageReaderHDF5.h
)
endif()
#by default every header in a testing directory doesn't need to be installed
set(directory_exceptions ".*/testing" )
# These exceptions should be based on the status of the associated