Skip to content
Snippets Groups Projects
Commit eee2e00d authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon
Browse files

CMake: fix some compatibility issues with HDF5 vars

parent fe93d7ac
No related branches found
No related tags found
1 merge request!120CMake: fix some compatibility issues with HDF5 vars
...@@ -102,10 +102,11 @@ if(ADIOS_USE_HDF5) ...@@ -102,10 +102,11 @@ if(ADIOS_USE_HDF5)
"of ADIOS is being built, which requires a sequential HDF5." "of ADIOS is being built, which requires a sequential HDF5."
) )
endif() endif()
message("DEBUG: HDF5_INCLUDE_DIRS: ${HDF5_INCLUDE_DIRS}") if(HDF5_C_INCLUDE_DIRS)
message("DEBUG: HDF5_C_INCLUDE_DIRS: ${HDF5_C_INCLUDE_DIRS}") target_include_directories(adios2 PRIVATE ${HDF5_C_INCLUDE_DIRS})
message("DEBUG: HDF5_C_LIBRARIES: ${HDF5_C_LIBRARIES}") else()
target_include_directories(adios2 PRIVATE ${HDF5_C_INCLUDE_DIRS}) target_include_directories(adios2 PRIVATE ${HDF5_INCLUDE_DIRS})
endif()
target_sources(adios2 PRIVATE target_sources(adios2 PRIVATE
engine/hdf5/HDF5ReaderP.cpp engine/hdf5/HDF5ReaderP.cpp
engine/hdf5/HDF5WriterP.cpp engine/hdf5/HDF5WriterP.cpp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment