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)
     MESSAGE(STATUS "Found OpenBLAS")
ENDIF (OPENBLAS_FOUND)

MARK_AS_ADVANCED(OPENBLAS)
