--- /usr/portage/sci-libs/armadillo/armadillo-9.200.6.ebuild 2019-05-18 20:47:41.559035452 +0200 +++ armadillo-9.600.5.ebuild 2019-07-29 13:50:31.356899394 +0200 @@ -89,12 +76,15 @@ fi if use hdf5; then mycmakeargs+=( + -DDETECT_HDF5=ON -DHDF5_FOUND=ON -DHDF5_LIBRARIES="-lhdf5" + -DHDF5_INCLUDE_DIRS=/usr/include ) else mycmakeargs+=( -DHDF5_FOUND=OFF + -DDETECT_HDF5=OFF ) fi if use lapack; then