mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-18 20:27:53 +00:00
cmake : Prefer pkg-config while looking for BLAS (#1349)
This commit is contained in:
parent
91c0b23384
commit
80bf931668
@ -186,8 +186,8 @@ if (WHISPER_BLAS)
|
|||||||
else ()
|
else ()
|
||||||
set(BLA_STATIC 1)
|
set(BLA_STATIC 1)
|
||||||
set(BLA_VENDOR ${WHISPER_BLAS_VENDOR})
|
set(BLA_VENDOR ${WHISPER_BLAS_VENDOR})
|
||||||
# set(BLA_PREFER_PKGCONFIG 1)
|
|
||||||
set(BLA_SIZEOF_INTEGER 8)
|
set(BLA_SIZEOF_INTEGER 8)
|
||||||
|
set(BLA_PREFER_PKGCONFIG 1)
|
||||||
find_package(BLAS)
|
find_package(BLAS)
|
||||||
|
|
||||||
if(BLAS_FOUND)
|
if(BLAS_FOUND)
|
||||||
|
Loading…
Reference in New Issue
Block a user