FindBLAS: don't write an imported target name into BLAS_LIBRARIES
Since commit !1599 (merged) the BLAS_LIBRARIES
result variable may
incorrectly contain the name of an imported target. Instead store the
list of libraries in the variable. Unfortunately pkg_check_modules does
not provide a way to get this so we need to use a (temporary) hack of
reading INTERFACE_LINK_LIBRARIES
from the interface library target.
Cc: @tamiko
Fixes: #17934 (closed)
Edited by Brad King