Merge pull request #27778 from mshabunin:fix-openblas-cmake

build: fix OpenBLAS cmake search
This commit is contained in:
Alexander Smorkalov
2025-09-12 20:50:18 +03:00
committed by GitHub

View File

@@ -191,7 +191,7 @@ if(WITH_LAPACK)
CBLAS_H "cblas.h"
LAPACKE_H "lapacke.h"
INCLUDE_DIR "${OpenBLAS_INCLUDE_DIRS}"
LIBRARIES "${OpenBLAS_LIBRARIES}")
LIBRARIES "${OpenBLAS_LIBRARY};${OpenBLAS_LIBRARIES}")
endif()
endif()
if(NOT LAPACK_LIBRARIES AND UNIX)