fix for hdf5 compilation with new cmake

This commit is contained in:
2019-04-24 18:09:53 +02:00
parent 91a338cf52
commit 67eef8ba75
2 changed files with 15 additions and 9 deletions

3
cmk.sh
View File

@ -187,7 +187,8 @@ fi
#hdf5 rebuild
if [ $HDF5 -eq 1 ]; then
CMAKE_PRE+="HDF5_ROOT="$HDF5DIR
# CMAKE_PRE+="HDF5_ROOT="$HDF5DIR
CMAKE_POST+=" -DCMAKE_INSTALL_PREFIX="$HDF5DIR
CMAKE_POST+=" -DSLS_USE_HDF5=ON "
#normal mode rebuild
else