Update OpenCVFindOpenBLAS.cmake to accomodate alternative lib name

openBLAS windows release calls their library libopenblas which was not recognized before. see #24268
pull/24269/head
FlyinTeller 1 year ago committed by GitHub
parent 4790a3732e
commit 347a1e2913
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cmake/OpenCVFindOpenBLAS.cmake

@ -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)

Loading…
Cancel
Save