cmake : Prefer pkg-config while looking for BLAS (#1349)

This commit is contained in:
Marcin Mielniczuk 2023-10-07 16:02:07 +02:00 committed by GitHub
parent 91c0b23384
commit 80bf931668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,8 +186,8 @@ if (WHISPER_BLAS)
else ()
set(BLA_STATIC 1)
set(BLA_VENDOR ${WHISPER_BLAS_VENDOR})
# set(BLA_PREFER_PKGCONFIG 1)
set(BLA_SIZEOF_INTEGER 8)
set(BLA_PREFER_PKGCONFIG 1)
find_package(BLAS)
if(BLAS_FOUND)