diff --git a/modules/find/FindFFTW.cmake b/modules/find/FindFFTW.cmake index cc645e538e41b2cefb1d34cb367c6ee6a7f22827..fe34e2f5463773aa7f3a4c86bee0b834548e6369 100644 --- a/modules/find/FindFFTW.cmake +++ b/modules/find/FindFFTW.cmake @@ -619,8 +619,8 @@ if( (NOT PKG_CONFIG_EXECUTABLE) OR # FFTW relies on blas libs if (FFTW_LOOK_FOR_THREADS) if (FFTW_LOOK_FOR_MKL) - if (BLAS_PAR_LIBRARIES) - list(APPEND FFTW_LIBRARIES "${BLAS_PAR_LIBRARIES}") + if (BLAS_LIBRARIES_PAR) + list(APPEND FFTW_LIBRARIES "${BLAS_LIBRARIES_PAR}") if (NOT FFTW_FIND_QUIETLY) message(STATUS "Multithreaded FFTW has been found: ${FFTW_LIBRARIES}") endif() @@ -632,10 +632,10 @@ if( (NOT PKG_CONFIG_EXECUTABLE) OR message(STATUS "Multithreaded FFTW not found.") endif() endif() - endif(BLAS_PAR_LIBRARIES) + endif(BLAS_LIBRARIES_PAR) elseif (FFTW_LOOK_FOR_ESSL) - if (FFTW_LIBRARIES AND BLAS_PAR_LIBRARIES) - list(APPEND FFTW_LIBRARIES "${BLAS_PAR_LIBRARIES}") + if (FFTW_LIBRARIES AND BLAS_LIBRARIES_PAR) + list(APPEND FFTW_LIBRARIES "${BLAS_LIBRARIES_PAR}") if (NOT FFTW_FIND_QUIETLY) message(STATUS "Multithreaded FFTW has been found: ${FFTW_LIBRARIES}") endif() @@ -647,7 +647,7 @@ if( (NOT PKG_CONFIG_EXECUTABLE) OR message(STATUS "Multithreaded FFTW not found.") endif() endif() - endif(FFTW_LIBRARIES AND BLAS_PAR_LIBRARIES) + endif(FFTW_LIBRARIES AND BLAS_LIBRARIES_PAR) endif() else(FFTW_LOOK_FOR_THREADS) if (FFTW_LOOK_FOR_MKL)