1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Update OpenCVFindOpenBLAS.cmake to accomodate alternative lib name

openBLAS windows release calls their library libopenblas which was not recognized before. see #24268
This commit is contained in:
FlyinTeller
2023-09-14 09:04:41 +02:00
committed by GitHub
parent 4790a3732e
commit 347a1e2913
+1 -1
View File
@@ -73,7 +73,7 @@ SET(Open_BLAS_LIB_SEARCH_PATHS
)
FIND_PATH(OpenBLAS_INCLUDE_DIR NAMES cblas.h PATHS ${Open_BLAS_INCLUDE_SEARCH_PATHS} NO_DEFAULT_PATH)
FIND_LIBRARY(OpenBLAS_LIB NAMES openblas PATHS ${Open_BLAS_LIB_SEARCH_PATHS} NO_DEFAULT_PATH)
FIND_LIBRARY(OpenBLAS_LIB NAMES openblas libopenblas PATHS ${Open_BLAS_LIB_SEARCH_PATHS} NO_DEFAULT_PATH)
SET(OpenBLAS_FOUND ON)