find_package(BLAS) doesn't set BLAS_LIBRARIES contrary to what docs say
The dftbplus
project uses find_package(BLAS)
here.
FindBLAS.cmake
says that it has to define BLAS_LIBRARIES
but in the above context find_package(BLAS)
succeeds without setting BLAS_LIBRARIES
and the calling code linked above fails for this reason.
When find_package(BLAS)
is called standalone - it sets BLAS_LIBRARIES
fine.
cmake-3.22.1
OS: FreeBSD 13