Skip to content

Commit 98205d4

Browse files
committed
change in E3SM build
1 parent 5e4b934 commit 98205d4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,7 @@ endif()
232232
# https://github.com/Parallel-NetCDF/E3SM-IO
233233

234234
if(H5BENCH_E3SM)
235-
string(REPLACE ";" " " HDF5_LIBS_CLEAN "${HDF5_LIBRARIES}")
236-
set(E3SM_LIBS "${HDF5_LIBS_CLEAN} -ldl -lpthread")
235+
set(E3SM_LIBS "-lhdf5 -lz -ldl -lm -lpthread")
237236

238237
ExternalProject_Add(h5bench_e3sm
239238
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/e3sm

0 commit comments

Comments
 (0)