Skip to content

Commit dae5a6a

Browse files
committed
Detect the new flag HDF5_PROVIDES_PARALLEL from 2.0
1 parent 69173d9 commit dae5a6a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

cmake/FindHDF5.cmake

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,12 @@ if(CMAKE_VERSION VERSION_LESS 3.19)
99
else()
1010
include(${CMAKE_ROOT}/Modules/FindHDF5.cmake)
1111
endif()
12+
13+
if ( HDF5_PROVIDES_PARALLEL )
14+
if(NOT DEFINED HDF5_IS_PARALLEL)
15+
message (STATUS "ADIOS is double checking to use the HDF2.0 parallel flag")
16+
set(HDF5_IS_PARALLEL ${HDF5_PROVIDES_PARALLEL})
17+
message (STATUS "HDF is set to parralel: ${HDF5_IS_PARALLEL}")
18+
endif()
19+
endif()
20+

0 commit comments

Comments
 (0)