From 4f0bf0de1a22aacb4d0f30d3a5498f04b73ccb6c Mon Sep 17 00:00:00 2001 From: Tammo Jan Dijkema Date: Mon, 12 Mar 2018 09:28:45 +0100 Subject: [PATCH] Make OpenBLAS_ROOT_DIR configurable --- CMakeModules/FindOpenBLAS.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeModules/FindOpenBLAS.cmake b/CMakeModules/FindOpenBLAS.cmake index a6af845..45b3fc4 100644 --- a/CMakeModules/FindOpenBLAS.cmake +++ b/CMakeModules/FindOpenBLAS.cmake @@ -9,6 +9,7 @@ SET(Open_BLAS_INCLUDE_SEARCH_PATHS /usr/local/OpenBLAS/include $ENV{OpenBLAS_HOME} $ENV{OpenBLAS_HOME}/include + ${OpenBLAS_ROOT_DIR}/include ) SET(Open_BLAS_LIB_SEARCH_PATHS @@ -26,6 +27,7 @@ SET(Open_BLAS_LIB_SEARCH_PATHS $ENV{OpenBLAS}/lib $ENV{OpenBLAS_HOME} $ENV{OpenBLAS_HOME}/lib + ${OpenBLAS_ROOT_DIR}/lib ) FIND_PATH(OpenBLAS_INCLUDE_DIR NAMES cblas.h PATHS ${Open_BLAS_INCLUDE_SEARCH_PATHS})