Commit 59bf453c authored by Pavel Burovskiy's avatar Pavel Burovskiy

Forgotten CMake file

parent e20de9b3
SET(OPEN_BLAS_SEARCH_PATHS /lib/ /lib64/ /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64 /opt/OpenBLAS/lib $ENV{OPENBLAS_HOME}/lib )
FIND_LIBRARY(OPENBLAS NAMES openblas PATHS ${OPEN_BLAS_SEARCH_PATHS})
IF (OPENBLAS)
SET(OPENBLAS_FOUND ON)
ENDIF (OPENBLAS)
IF (OPENBLAS_FOUND)
# IF (NOT NATIVE_BLAS_LAPACK_FIND_QUIETLY)
MESSAGE(STATUS "Found OpenBLAS")
# ENDIF (NOT NATIVE_BLAS_LAPACK_FIND_QUIETLY)
ELSE(OPENBLAS_FOUND)
# IF (NATIVE_BLAS_LAPACK_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could not find OpenBLAS libraries.")
# ENDIF (NATIVE_BLAS_LAPACK_FIND_REQUIRED)
ENDIF (OPENBLAS_FOUND)
MARK_AS_ADVANCED(OPENBLAS)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment