Wrong use of pkg-config in FindLAPACK
FindLAPACK first checks whether LAPACK is available in BLAS_LIBRARIES. However, it enters in the
if( PKG_CONFIG_EXECUTABLE AND NOT LAPACK_GIVEN_BY_USER AND LAP_VENDOR STREQUAL "All")
branch even if LAPACK is found in BLAS_LIBRARIES and thus may end up finding a different LAPACK.