1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

Fix OpenBLAS detection on Fedora/RHEL (Issue #28049)

This commit is contained in:
JayPol999
2025-11-20 23:24:55 +05:30
parent b90041b30a
commit 35f82d4599
+4 -2
View File
@@ -20,8 +20,10 @@ if(NOT OpenBLAS_FOUND)
endif()
if(NOT OpenBLAS_FOUND)
find_library(OpenBLAS_LIBRARIES NAMES openblas)
find_path(OpenBLAS_INCLUDE_DIRS NAMES cblas.h)
find_library(OpenBLAS_LIBRARIES NAMES openblasp openblas)
find_path(OpenBLAS_INCLUDE_DIRS
NAMES cblas.h
PATH_SUFFIXES openblas)
find_path(OpenBLAS_LAPACKE_DIR NAMES lapacke.h PATHS "${OpenBLAS_INCLUDE_DIRS}")
if(OpenBLAS_LIBRARIES AND OpenBLAS_INCLUDE_DIRS)
message(STATUS "Found OpenBLAS in the system")