OTB 6.6-rc1 fails to find CBLAS_LIBRARY on Debian unstable

Description

Configuring OTB 6.6-rc1 on Debian unstable fails, because FindShark.cmake doesn't find the blas library shark was built with.

On Debian unstable libblas-dev provides /usr/lib/$(DEB_HOST_MULTIARCH)/blas/libblas.so for which the find_library() call needs to be adapted.

The attached patch fixes the issue: shark-blas.patch

Steps to reproduce

Configure OTB 6.6-rc1 with -DOTB_USE_SHARK:BOOL=ON on Debian unstable.

Configuration information

Debian unstable, OTB 6.6-rc1.

Edited by Bas Couwenberg