Make OpenBLAS_ROOT_DIR configurable

This commit is contained in:
Tammo Jan Dijkema 2018-03-12 09:28:45 +01:00
parent ec010be541
commit 4f0bf0de1a
1 changed files with 2 additions and 0 deletions

View File

@ -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})