fi
if use hdf5; then
mycmakeargs+=(
-DDETECT_HDF5=ON
-DHDF5_FOUND=ON
-DHDF5_LIBRARIES="-lhdf5"
-DHDF5_INCLUDE_DIRS=/usr/include
)
else
-DHDF5_FOUND=OFF
-DDETECT_HDF5=OFF
if use lapack; then