Hi @SebWouters, about time for my annual build tweaks PR.
[x] I've suspected for a bit that I was wrong here so correcting that by properly declaring HDF5 and LAPACK to be needed by projects linking libchemps2.
[x] Other change, I've never needed for CheMPS2, but in the case where building this project and tgt::lapack is detectable but you don't want to use it, nor you want to define the LAPACK_LIBRARIES explicitly, this lets you skip to the 3rd precedence, ordinary find_package(LAPACK) detection.
Hi @SebWouters, about time for my annual build tweaks PR.
libchemps2
.tgt::lapack
is detectable but you don't want to use it, nor you want to define the LAPACK_LIBRARIES explicitly, this lets you skip to the 3rd precedence, ordinaryfind_package(LAPACK)
detection.