From a764aa8e262eb77e808381fc2a17a5b0303ca3a4 Mon Sep 17 00:00:00 2001 From: Nnamdi Obi Date: Sun, 12 May 2024 01:52:42 -0400 Subject: [PATCH] Updated FindOpenBLAS search directories for M1 Apple Silicon Macs. --- cmake/modules/FindOpenBLAS.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/modules/FindOpenBLAS.cmake b/cmake/modules/FindOpenBLAS.cmake index c17b69d19..4829ff47e 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)