From 7c36e2592456b20da362f263d439e14de0bf0275 Mon Sep 17 00:00:00 2001
From: Xavier Lacoste <xavier.lacoste@total.com>
Date: Mon, 5 Mar 2018 10:09:01 +0100
Subject: [PATCH] remove extra libraries not requires with ESSL 5.5

---
 modules/find/FindBLAS.cmake   | 4 ++--
 modules/find/FindLAPACK.cmake | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/find/FindBLAS.cmake b/modules/find/FindBLAS.cmake
index 27a6b4f..612773d 100644
--- a/modules/find/FindBLAS.cmake
+++ b/modules/find/FindBLAS.cmake
@@ -1014,7 +1014,7 @@ if (BLA_VENDOR STREQUAL "IBMESSL" OR BLA_VENDOR STREQUAL "All")
       BLAS
       sgemm
       ""
-      "essl;xlfmath;xlf90_r;blas"
+      "essl"
       ""
       )
     if(NOT BLAS_FIND_QUIETLY)
@@ -1041,7 +1041,7 @@ if (BLA_VENDOR STREQUAL "IBMESSLMT" OR BLA_VENDOR STREQUAL "All")
       BLAS
       sgemm
       ""
-      "esslsmp;xlsmp;xlfmath;xlf90_r;blas"
+      "esslsmp"
       ""
       )
     if(NOT BLAS_FIND_QUIETLY)
diff --git a/modules/find/FindLAPACK.cmake b/modules/find/FindLAPACK.cmake
index d07c61e..8ae221e 100644
--- a/modules/find/FindLAPACK.cmake
+++ b/modules/find/FindLAPACK.cmake
@@ -506,7 +506,7 @@ if(BLAS_FOUND)
         LAPACK
         cheevd
         ""
-        "essl;lapack"
+        "essl"
         "${BLAS_LIBRARIES}"
         ""
         )
@@ -531,7 +531,7 @@ if(BLAS_FOUND)
         LAPACK
         cheevd
         ""
-        "esslsmp;lapack"
+        "esslsmp"
         "${BLAS_PAR_LIBRARIES}"
         ""
         )
-- 
GitLab