FindBLAS: Fails on conda with OpenBLAS
I have CMake 3.22.2 and OpenBLAS 3.9.0, both installed from Conda-Forge, running under macOS 12.2 on an M1 Mac. find_package(BLAS)
sets BLAS_openblas_LIBRARY
to point to a library with the name libopenblas.dylib
. There is no such library. On recent versions OpenBLAS, the actual library name is libopenblas.0.dylib
. This leads to a compilation error.
Edited by Brad King