From 4a41ae5238dec56d41fdaf59b216560ac6f40d3e Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Tue, 12 Sep 2017 15:25:41 +0200
Subject: [PATCH] fill BLAS_LIBRARIES_DEP in FindBLAS

---
 modules/find/FindBLAS.cmake | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/modules/find/FindBLAS.cmake b/modules/find/FindBLAS.cmake
index 9f74b07..95119ff 100644
--- a/modules/find/FindBLAS.cmake
+++ b/modules/find/FindBLAS.cmake
@@ -1354,11 +1354,17 @@ if(BLA_F95)
 
   set(BLAS_FOUND TRUE)
   set(BLAS_LIBRARIES "${BLAS95_LIBRARIES}")
+  if (NOT BLAS_LIBRARIES_DEP)
+    set(BLAS_LIBRARIES_DEP "${BLAS95_LIBRARIES}")
+  endif()
 
 else(BLA_F95)
 
   if(BLAS_LIBRARIES)
     set(BLAS_FOUND TRUE)
+    if (NOT BLAS_LIBRARIES_DEP)
+      set(BLAS_LIBRARIES_DEP "${BLAS_LIBRARIES}")
+    endif()
   else()
     set(BLAS_FOUND FALSE)
   endif()
-- 
GitLab