From 347a1e2913119a2033483a743f1bc1c4e22ba8f3 Mon Sep 17 00:00:00 2001 From: FlyinTeller Date: Thu, 14 Sep 2023 09:04:41 +0200 Subject: [PATCH] Update OpenCVFindOpenBLAS.cmake to accomodate alternative lib name openBLAS windows release calls their library libopenblas which was not recognized before. see #24268 --- cmake/OpenCVFindOpenBLAS.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/OpenCVFindOpenBLAS.cmake b/cmake/OpenCVFindOpenBLAS.cmake index d1db034908..4e3f0cc210 100644 --- a/cmake/OpenCVFindOpenBLAS.cmake +++ b/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)