Make OpenBLAS_ROOT_DIR configurable
This commit is contained in:
parent
ec010be541
commit
4f0bf0de1a
|
@ -9,6 +9,7 @@ SET(Open_BLAS_INCLUDE_SEARCH_PATHS
|
||||||
/usr/local/OpenBLAS/include
|
/usr/local/OpenBLAS/include
|
||||||
$ENV{OpenBLAS_HOME}
|
$ENV{OpenBLAS_HOME}
|
||||||
$ENV{OpenBLAS_HOME}/include
|
$ENV{OpenBLAS_HOME}/include
|
||||||
|
${OpenBLAS_ROOT_DIR}/include
|
||||||
)
|
)
|
||||||
|
|
||||||
SET(Open_BLAS_LIB_SEARCH_PATHS
|
SET(Open_BLAS_LIB_SEARCH_PATHS
|
||||||
|
@ -26,6 +27,7 @@ SET(Open_BLAS_LIB_SEARCH_PATHS
|
||||||
$ENV{OpenBLAS}/lib
|
$ENV{OpenBLAS}/lib
|
||||||
$ENV{OpenBLAS_HOME}
|
$ENV{OpenBLAS_HOME}
|
||||||
$ENV{OpenBLAS_HOME}/lib
|
$ENV{OpenBLAS_HOME}/lib
|
||||||
|
${OpenBLAS_ROOT_DIR}/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
FIND_PATH(OpenBLAS_INCLUDE_DIR NAMES cblas.h PATHS ${Open_BLAS_INCLUDE_SEARCH_PATHS})
|
FIND_PATH(OpenBLAS_INCLUDE_DIR NAMES cblas.h PATHS ${Open_BLAS_INCLUDE_SEARCH_PATHS})
|
||||||
|
|
Loading…
Reference in New Issue