From 65e476d3bf652ce5a01b0f17cdc917c8c089cb7d Mon Sep 17 00:00:00 2001 From: m0nst3r <38524240+mr-m0nst3r@users.noreply.github.com> Date: Sun, 19 Dec 2021 14:21:50 +0800 Subject: [PATCH] Update FindOpenBLAS.cmake --- cmake/modules/FindOpenBLAS.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/modules/FindOpenBLAS.cmake b/cmake/modules/FindOpenBLAS.cmake index c17b69d19..504ca99e5 100644 --- a/cmake/modules/FindOpenBLAS.cmake +++ b/cmake/modules/FindOpenBLAS.cmake @@ -55,6 +55,7 @@ SET(Open_BLAS_INCLUDE_SEARCH_PATHS /usr/local/include /usr/include /usr/local/opt/openblas/include + /opt/homebrew/opt/openblas/include ) SET(Open_BLAS_LIB_SEARCH_PATHS @@ -73,6 +74,7 @@ SET(Open_BLAS_LIB_SEARCH_PATHS /usr/lib64 /usr/lib /usr/local/opt/openblas/lib + /opt/homebrew/opt/openblas/lib ) FIND_PATH(OpenBLAS_INCLUDE_DIR NAMES f77blas.h PATHS ${Open_BLAS_INCLUDE_SEARCH_PATHS} NO_DEFAULT_PATH) @@ -108,4 +110,4 @@ MARK_AS_ADVANCED( OpenBLAS_INCLUDE_DIR OpenBLAS_LIB OpenBLAS -) \ No newline at end of file +)