diff --git a/cmake/modules/FindLAPACKE.cmake b/cmake/modules/FindLAPACKE.cmake
index 7e5f8e87d85f0d0fe79a328c32e43876950870af..0d2924e51447ee19a8aeec201df27a478fc43654 100644
--- a/cmake/modules/FindLAPACKE.cmake
+++ b/cmake/modules/FindLAPACKE.cmake
@@ -7,12 +7,20 @@
 # Authors:
 #   Tobias Leibner (2017)
 
+# cmake can't find OpenBLAS in older versions, so do it manually
+find_package(BLAS)
+find_library(OPENBLAS_LIBRARY openblas)
+if(NOT "${OPENBLAS_LIBRARY}" MATCHES "OPENBLAS_LIBRARY-NOTFOUND")
+  list(APPEND BLAS_LIBRARIES ${OPENBLAS_LIBRARY}) 
+endif(NOT "${OPENBLAS_LIBRARY}" MATCHES "OPENBLAS_LIBRARY-NOTFOUND")
+
 find_library(LAPACKE_LIBRARY lapacke HINTS "${CMAKE_SOURCE_DIR}/../local/lib/")
 if("${LAPACKE_LIBRARY}" MATCHES "LAPACKE_LIBRARY-NOTFOUND")
 	message("--   library 'LAPACKE' not found, make sure you have both LAPACK and LAPACKE installed")
 else("${LAPACKE_LIBRARY}" MATCHES "LAPACKE_LIBRARY-NOTFOUND")
   message("--   found LAPACKE library")
-  set(LAPACKE_LIBRARIES "${LAPACKE_LIBRARY}" "gfortran")
+  set(LAPACKE_LIBRARIES "${LAPACKE_LIBRARY}")
+  list(APPEND LAPACKE_LIBRARIES ${BLAS_LIBRARIES}) 
 endif("${LAPACKE_LIBRARY}" MATCHES "LAPACKE_LIBRARY-NOTFOUND")
 
 message("-- checking for lapacke.h header")