File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ if(IS_DIRECTORY ${HDF5_ROOT})
88 set (_cmd1 "" )
99 set (_cmd2 "" )
1010else ()
11+ message (STATUS "installing HDF5 library in ${HDF5_ROOT} " )
1112 set (_cmd0 ${CMAKE_CURRENT_BINARY_DIR} /HDF5_proj-prefix /src/HDF5_proj/configure --prefix =${HDF5_ROOT} --enable-fortran --enable-build -mode=production --disable-tests --disable-tools --disable-shared)
1213 set (_cmd1 make -j)
1314 set (_cmd2 make -j install )
@@ -30,14 +31,10 @@ BUILD_BYPRODUCTS "${HDF5_LIBRARIES}"
3031INSTALL_COMMAND "${_cmd2} "
3132)
3233
33- message (STATUS "installing HDF5 library in ${HDF5_ROOT} " )
34-
3534file (MAKE_DIRECTORY ${HDF5_ROOT} /include ) # avoid race condition
3635
3736add_dependencies (h5fortran HDF5_proj) # ensure HDF5 builds first
3837
39-
40-
4138find_package (ZLIB REQUIRED)
4239list (APPEND HDF5_LIBRARIES ZLIB::ZLIB)
4340
You can’t perform that action at this time.
0 commit comments