From 01ef043edaf8be38f42b9c23575e03dfe1546e4d Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Wed, 18 Apr 2018 11:57:18 +0200
Subject: [PATCH] variables BLAS/LAPACK_PAR_ do not exist anymore

---
 modules/find/FindFFTW.cmake   | 12 ++++++------
 modules/find/FindLAPACK.cmake |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/modules/find/FindFFTW.cmake b/modules/find/FindFFTW.cmake
index af307ed..cc645e5 100644
--- a/modules/find/FindFFTW.cmake
+++ b/modules/find/FindFFTW.cmake
@@ -651,8 +651,8 @@ if( (NOT PKG_CONFIG_EXECUTABLE) OR
       endif()
     else(FFTW_LOOK_FOR_THREADS)
       if (FFTW_LOOK_FOR_MKL)
-        if (BLAS_SEQ_LIBRARIES)
-          list(APPEND FFTW_LIBRARIES "${BLAS_SEQ_LIBRARIES}")
+        if (BLAS_LIBRARIES_SEQ)
+          list(APPEND FFTW_LIBRARIES "${BLAS_LIBRARIES_SEQ}")
           if (NOT FFTW_FIND_QUIETLY)
             message(STATUS "FFTW has been found: ${FFTW_LIBRARIES}")
           endif()
@@ -664,10 +664,10 @@ if( (NOT PKG_CONFIG_EXECUTABLE) OR
               message(STATUS "FFTW not found.")
             endif()
           endif()
-        endif(BLAS_SEQ_LIBRARIES)
+        endif(BLAS_LIBRARIES_SEQ)
       elseif (FFTW_LOOK_FOR_ESSL)
-        if (FFTW_LIBRARIES AND BLAS_SEQ_LIBRARIES)
-          list(APPEND FFTW_LIBRARIES "${BLAS_SEQ_LIBRARIES}")
+        if (FFTW_LIBRARIES AND BLAS_LIBRARIES_SEQ)
+          list(APPEND FFTW_LIBRARIES "${BLAS_LIBRARIES_SEQ}")
           if (NOT FFTW_FIND_QUIETLY)
             message(STATUS "FFTW has been found: ${FFTW_LIBRARIES}")
           endif()
@@ -679,7 +679,7 @@ if( (NOT PKG_CONFIG_EXECUTABLE) OR
               message(STATUS "FFTW not found.")
             endif()
           endif()
-        endif(FFTW_LIBRARIES AND BLAS_SEQ_LIBRARIES)
+        endif(FFTW_LIBRARIES AND BLAS_LIBRARIES_SEQ)
       endif()
     endif(FFTW_LOOK_FOR_THREADS)
 
diff --git a/modules/find/FindLAPACK.cmake b/modules/find/FindLAPACK.cmake
index 8479c2a..7b7756c 100644
--- a/modules/find/FindLAPACK.cmake
+++ b/modules/find/FindLAPACK.cmake
@@ -655,7 +655,7 @@ if(BLAS_FOUND)
           cheevd
           ""
           "esslsmp"
-          "${BLAS_PAR_LIBRARIES}"
+          "${BLAS_LIBRARIES}"
           ""
           )
         if(NOT LAPACK_FIND_QUIETLY)
-- 
GitLab