We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b53bd2 commit 5483232Copy full SHA for 5483232
CMakeLists.txt
@@ -198,6 +198,10 @@ if (WHISPER_BLAS)
198
set(WHISPER_BLAS_LIB_SUFFIX ${CMAKE_SHARED_LIBRARY_SUFFIX})
199
endif ()
200
201
+ # OpenBLAS prebuilt libraries hardcode "lib" prefix in filename even on Windows
202
+ if (WHISPER_OPENBLAS)
203
+ set(WHISPER_BLAS_LIB_PREFIX "lib")
204
+ endif ()
205
message(STATUS "BLAS compatible library path provided")
206
set(BLAS_LIBRARIES "$ENV{OPENBLAS_PATH}/lib/${WHISPER_BLAS_LIB_PREFIX}${WHISPER_BLAS_LIB}${WHISPER_BLAS_LIB_SUFFIX}")
207
message(STATUS "Libraries ${BLAS_LIBRARIES}")
0 commit comments