From 99f4eec3b017eabca46ef1d39381aa3dfd69662e Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Tue, 17 Apr 2018 10:13:57 +0200
Subject: [PATCH] restore last working MKL libraries

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

diff --git a/modules/find/FindBLAS.cmake b/modules/find/FindBLAS.cmake
index 4eaed43..02c7027 100644
--- a/modules/find/FindBLAS.cmake
+++ b/modules/find/FindBLAS.cmake
@@ -843,8 +843,12 @@ if( (NOT BLAS_FOUND_WITH_PKGCONFIG) OR BLAS_GIVEN_BY_USER )
             else()
               set (BLAS_LIBRARIES_SEQ "${${_LIBRARIES}}")
             endif()
+            set(${_LIBRARIES}_COPY "${${_LIBRARIES}}")
           endif()
         endforeach ()
+        if (${_LIBRARIES}_COPY)
+          set(${_LIBRARIES} "${${_LIBRARIES}_COPY}")
+        endif()
         if(NOT BLAS_FIND_QUIETLY)
           if(${_LIBRARIES})
             message(STATUS "Looking for MKL BLAS: found")
-- 
GitLab